sql script update
This commit is contained in:
10
web/db/mysql/create_user.sql
Normal file
10
web/db/mysql/create_user.sql
Normal file
@@ -0,0 +1,10 @@
|
||||
|
||||
set session 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';
|
||||
|
||||
create database jeesite DEFAULT CHARSET utf8 COLLATE utf8_general_ci;
|
||||
|
||||
grant all privileges on jeesite.* to 'jeesite'@'%' identified by 'jeesite';
|
||||
|
||||
flush privileges;
|
||||
Reference in New Issue
Block a user