1、MySQL8新建用户
create user 'firestone'@'%' identified by '123456';
2、给用户授予test库所有权限
grant all privileges on firestone_pretank.* to 'firestone'@'%' ;
3、刷新权限
flush privileges;
create user 'firestone'@'%' identified by '123456';
grant all privileges on firestone_pretank.* to 'firestone'@'%' ;
flush privileges;