时间:2021-07-01 10:21:17 帮助过:35人阅读
允许本地用户所有权限:
GRANT all privileges ON *.* TO ‘root‘@‘localhost‘ IDENTIFIED BY ‘password‘;
赋本地用户部分权限:
mysql> GRANT SELECT,INSERT,UPDATE,DELETE,CREATE,DROP -> ON TUTORIALS.* -> TO ‘zara‘@‘localhost‘ -> IDENTIFIED BY ‘zara123‘;
mysql如何赋权限
标签:localhost mysql password 用户 如何