标签:line ack cin word mysq key plain containe 10.10
mysql的root没有权限
例如,你想root使用123456从任何主机连接到mysql服务器。
1
|
mysql> GRANT ALL PRIVILEGES ON *.* TO ‘root‘ @ ‘%‘ IDENTIFIED BY ‘123456‘ WITH GRANT OPTION ; |
如果你想允许用户jack从ip为10.10.50.127的主机连接到mysql服务器,并使用654321作为密码
1
2
|
mysql> GRANT ALL PRIVILEGES ON *.* TO ‘jack‘ @’10.10.50.127’ IDENTIFIED BY ‘654321‘ WITH GRANT OPTION ; mysql>FLUSH RIVILEGES |
标签:line ack cin word mysq key plain containe 10.10
原文地址:http://www.cnblogs.com/superAnny/p/7099343.html