解决[Err] 1055 - Expression #1 of ORDER BY clause is not in GROUP BY clause andcontains nonaggregated
解决[Err] 1055 - Expression #1 of ORDER BY clause is not in GROUP BY clause andcontains nonaggregated column 'information schema.PROFlLING.SEQ' which isnot functionally dependent on columns in GROUP BY
·
解决[Err] 1055 - Expression #1 of ORDER BY clause is not in GROUP BY clause andcontains nonaggregated column 'information schema.PROFlLING.SEQ' which isnot functionally dependent on columns in GROUP BY clause; this is incompatiblewith sql mode=only_full_group_by问题
不影响运行但访问客户端总是出错
打开配置文件/etc/my.cnf在[mysqld]下添加语句:
sql_mode=STRICT_TRANS_TABLES,NO_ZERO_IN_DATE,NO_ZERO_DATE,ERROR_FOR_DIVISION_BY_ZERO,NO_AUTO_CREATE_USER,NO_ENGINE_SUBSTITUTION
更多推荐
所有评论(0)