摘要: public class DBUtils { // static String user = "root"; // static String password = "root"; static String user = "root"; static String password = "root 阅读全文
posted @ 2021-11-02 09:47 二先森 阅读(49) 评论(0) 推荐(0)
摘要: 原因: myql8开启了ONLY_FULL_GROUP_BY 1. select @global.sql_mode 有值说明开启了group by严谨模式 2. 关闭这个模式: 在my.cnf 配置文件中的 [mysqld] 下添加一行指令 [mysqld] sql_mode=STRICT_TRAN 阅读全文
posted @ 2021-11-02 09:08 二先森 阅读(1673) 评论(0) 推荐(1)