grantallprivilegeson*.*to root@"%" identified by "root" withgrantoption;ALTERUSER'root'@'%' IDENTIFIED WITH mysql_native_password BY 'root';
flush privileges;
Mysql5.7的查询问题 Expression:SELECT list is not in GROUP BY clause and contains nonaggregated column MySQL 5.7.5实现了对功能依赖的检测。认情况下启用了only_full_group_by SQL模式,那么MySQL就会拒绝选择列表、条件或顺序列表引用的查询