解决[Err] 1055 - Expression #1 of ORDER BY clause is not in GROUP BY clause and contains nonaggregated
1.切到etc目录下:cd/etc2.查看内容:catmy.cnf或catmy.cnfmore可以看到sql_mode的值,这个值是我改过之后的值,没改之前是ONLY_FULL_GROUP_BY,STRICT_TRANS_TABLES,NO_ZERO_IN_DATE,NO_ZERO_DATE或者没有sql_mdoe这个变量没有则需要添加即可。3.修改文件:vimy.cnf4.保存编辑完内容后,按下