create user 'username'@'localhost' identified by 'password';--创建用户
set password for 'username'@'localhost'=password('newpassword');--修改用户密码
grant all on *.* to 'username'@'localhost';--授权
revoke all on *.* to 'username'@'localhost';--撤销授权
drop user 'username'@'localhost';--删除用户
2447

被折叠的 条评论
为什么被折叠?



