Files
my-spring/modules/core/db/mysql/create_user.sql

10 lines
385 B
MySQL
Raw Normal View History

2026-03-19 10:57:24 +08:00
-- 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;