MySQL管理 用户管理 CREATE USER username IDENTIFIED BY 'password'; 新建用户 CREATE USER@'%' IDENTIFIED BY 'password'; GRANT ALL PRIVILEGES ON *.* TO username@'%'; 赋予对应的权限 FLUSH PRIVILEGES; 新建用户之后可以使用如下命令来删除用户: DROP USER username; 删除用户 DELETE FROM user where Use…