刚布署了的mysql查询报错:
this is incompatible with DISTINCT
解决方法:
在mysql 配置文件my.ini 或者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
2021-06-27 21:32:56
刚布署了的mysql查询报错:
this is incompatible with DISTINCT
解决方法:
在mysql 配置文件my.ini 或者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
下一篇:7.3.3. DISTINCT