diff --git a/web/db/mysql/create_user.sql b/web/db/mysql/create_user.sql index 0906cf7c..2a279d1f 100644 --- a/web/db/mysql/create_user.sql +++ b/web/db/mysql/create_user.sql @@ -1,5 +1,6 @@ -set session sql_mode='ONLY_FULL_GROUP_BY,STRICT_TRANS_TABLES,ERROR_FOR_DIVISION_BY_ZERO,NO_AUTO_CREATE_USER,NO_ENGINE_SUBSTITUTION'; +-- 打开 my.ini 给 [mysqld] 增加如下配置: +-- sql_mode=ONLY_FULL_GROUP_BY,STRICT_TRANS_TABLES,ERROR_FOR_DIVISION_BY_ZERO,NO_AUTO_CREATE_USER,NO_ENGINE_SUBSTITUTION create user 'jeesite'@'%' identified by 'jeesite';