Mysql创建新用户
create user 'test'@'localhost' identified by 'password';
对新用户分配数据库权限
grant all on testsql.* to 'test@localhost' identified by 'password'
刷新下权限flush privileges;
Mysql创建新用户
create user 'test'@'localhost' identified by 'password';
对新用户分配数据库权限
grant all on testsql.* to 'test@localhost' identified by 'password'
刷新下权限flush privileges;