mirror of
http://123.56.153.49:3000/haibing/litemall.git
synced 2025-06-07 06:05:11 +00:00
8 lines
373 B
SQL
8 lines
373 B
SQL
drop database if exists litemall;
|
||
drop user if exists 'litemall'@'%';
|
||
-- 支持emoji:需要mysql数据库参数: character_set_server=utf8mb4
|
||
create database litemall default character set utf8mb4 collate utf8mb4_unicode_ci;
|
||
use litemall;
|
||
create user 'litemall'@'%' identified by 'litemall123456';
|
||
grant all privileges on litemall.* to 'litemall'@'%';
|
||
flush privileges; |