mysql的一些命令:
插入新的用户
insert into mysql.user(Host,User,Password) values(“localhost”,”test”,password(“123456”));
授予权限
grant all on . to admin@’%’ identified by ‘admin’ with grant option;
刷新权限
flush privileges;
mysql的一些命令:
插入新的用户
insert into mysql.user(Host,User,Password) values(“localhost”,”test”,password(“123456”));
授予权限
grant all on . to admin@’%’ identified by ‘admin’ with grant option;
刷新权限
flush privileges;