错误信息:
nnnnSQLSTATE[42000]: Syntax error or access violation: 1055 Expression #2 of SELECT list is not in GROUP BY clause and contains nonaggregated column cms_edit_log.real_name' which is not functionally dependent on columns in GROUP BY clause; this is incompatible with sql_mode=only_full_group_byn
nnnn错误解决:
nnnn修改/etc/my.cnf在[mysqld]下面添加如下列:
nnnnsql_mode=NO_ENGINE_SUBSTITUTION,STRICT_TRANS_TABLESn
n
发表回复