You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

9 lines
375 B
MySQL

2 years ago
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;
2 years ago
create user 'litemall'@'%' identified by 'Litemall123456.';
2 years ago
grant all privileges on litemall.* to 'litemall'@'%';
2 years ago
flush privileges;