标签:localhost mysql password 用户 如何
允许本地用户所有权限:
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‘;
标签:localhost mysql password 用户 如何
原文地址:http://hezun.blog.51cto.com/1137078/1637516