📌  相关文章
📜  ELECT 列表不在 GROUP BY 子句中,并且包含在功能上不依赖于 GROUP BY 子句中的列的非聚合列“schogdsw_db.SE.name”;这与 sql_mode=only_full_group_by 不兼容 - SQL 代码示例

📅  最后修改于: 2022-03-11 15:05:27.809000             🧑  作者: Mango

代码示例2
If you have persistent problems on MAC
Just find my.cnf file (for big sur is in /usr/local/etc), open it and add:
[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