创建表空间名
create database 空间名 default character set utf8 collate utf8_bin;
创建用户
create user 用户名 identified with mysql_native_password by '密码';
给用户赋权(上面设置了用户密码,则赋权时不需要再设置密码)
grant all on 空间名.* to '用户名'@'%' identified with mysql_native_password by '密码';
grant select,insert,update,delete,create,drop on vtdc.employee to 用户名 identified with mysql_native_password by '密码';