|
|
@ -3,6 +3,6 @@ drop user if exists 'litemall'@'%';
|
|
|
|
-- 支持emoji:需要mysql数据库参数: character_set_server=utf8mb4
|
|
|
|
-- 支持emoji:需要mysql数据库参数: character_set_server=utf8mb4
|
|
|
|
create database litemall default character set utf8mb4 collate utf8mb4_unicode_ci;
|
|
|
|
create database litemall default character set utf8mb4 collate utf8mb4_unicode_ci;
|
|
|
|
use litemall;
|
|
|
|
use litemall;
|
|
|
|
create user 'litemall'@'%' identified by 'litemall123456';
|
|
|
|
create user 'litemall'@'%' identified by 'Litemall123456.';
|
|
|
|
grant all privileges on litemall.* to 'litemall'@'%';
|
|
|
|
grant all privileges on litemall.* to 'litemall'@'%';
|
|
|
|
flush privileges;
|
|
|
|
flush privileges;
|
|
|
|