SQLSTATE[42000]: Syntax error or access violation: 1055 Expression #1 of ORDER BY clause is not in G MySQL • 2020-04-08• 408次阅读 出现这种问题 直接修改my.cnf在mysqld下面添加sql_mode="" 然后保存 ,重启mysql mysql 你努力了什么,也就成就了什么,与其羡慕别人,不如蜕变自己。