--登录
mysql --default-character-set=utf8 -uroot -proot
--导入sql文件
source 路径/***.sql
--授权
grant all privileges on *.* to 'test'@'%' identified by 'test' with grant option;
--授权
grant all on *.* to 'test'@'%' with grant option;
--授权
grant all privileges on *.* to 'test'@'%';