项目初始化
This commit is contained in:
9
modules/core/db/mysql/create_user.sql
Normal file
9
modules/core/db/mysql/create_user.sql
Normal file
@@ -0,0 +1,9 @@
|
||||
-- set global read_only=0;
|
||||
-- set global optimizer_switch='derived_merge=off';
|
||||
create user 'jeesite'@'%' identified by 'jeesite';
|
||||
create database jeesite DEFAULT CHARSET 'utf8mb4' COLLATE 'utf8mb4_unicode_ci';
|
||||
-- MySql 5.x
|
||||
-- grant all privileges on jeesite.* to 'jeesite'@'%' identified by 'jeesite';
|
||||
-- MySql 8.x
|
||||
grant all privileges on jeesite.* to 'jeesite'@'%';
|
||||
flush privileges;
|
||||
Reference in New Issue
Block a user