原文:Expression #1 of ORDER BY clause is not in SELECT list, references column 'xxxx' which is not in SELECT list; this is incompatible with DISTINCT

mysql升级到 . . 后,访问系统报错 解决办法: 修改 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 参考资料: https: bl ...

2021-11-02 15:27 0 824 推荐指数:

查看详情

 
粤ICP备18138465号  © 2018-2025 CODEPRJ.COM