[Err] 1055 - Expression #1 of OR
安装好数据库进行操作时,报
[Err] 1055 - Expression #1 of ORDER BY clause is not in GROUP BY clause and contains nonaggregated column 'information_schema.PROFILING.SEQ' which is not functionally dependent on columns in GROUP BY clause; this is incompatible with sql_mode=only_full_group_by
解决:windows上运行cmd,然后输入
mysql -uxxx -pxxxxx进入mysql,执行下mysql语句:
set @@global.sql_mode='NO_AUTO_VALUE_ON_ZERO,STRICT_TRANS_TABLES,NO_AUTO_CREATE_USER,NO_ENGINE_SUBSTITUTION';
linux上进入MySQL,执行上述语句
本文标题:[Err] 1055 - Expression #1 of OR
本文链接:https://www.haomeiwen.com/subject/yleecctx.html
网友评论