mysql连接linux系统提示“登录出现1130 is not allowed to connect to this MySql server”问题,解决方法
2013-08-17 22:48
1341 查看
错误解释:服务器没有授权给你这个ip是不能连接的
你想root用户名使用root密码从任何主机连接到mysql服务器的话。
运行命令:mysql>GRANT ALL PRIVILEGES ON *.* TO 'root'@'%' IDENTIFIED BY 'root' WITH GRANT OPTION;
如果你想允许用户root从ip为192.168.1.3的主机连接到mysql服务器,并使用root作为密码
运行命令:mysql>GRANT ALL PRIVILEGES ON *.* TO 'root'@'192.168.1.3' IDENTIFIED BY 'root' WITH GRANT OPTION;
上面的命令创建一个可以从任意机器以root登录的超级账号,口令是root。这样,就可以使用方便的图形工具(navicat for mysql)进行登录和操作,包括修改root的口令。
其中用户名和密码、IP换成自己的即可~~
你想root用户名使用root密码从任何主机连接到mysql服务器的话。
运行命令:mysql>GRANT ALL PRIVILEGES ON *.* TO 'root'@'%' IDENTIFIED BY 'root' WITH GRANT OPTION;
如果你想允许用户root从ip为192.168.1.3的主机连接到mysql服务器,并使用root作为密码
运行命令:mysql>GRANT ALL PRIVILEGES ON *.* TO 'root'@'192.168.1.3' IDENTIFIED BY 'root' WITH GRANT OPTION;
上面的命令创建一个可以从任意机器以root登录的超级账号,口令是root。这样,就可以使用方便的图形工具(navicat for mysql)进行登录和操作,包括修改root的口令。
其中用户名和密码、IP换成自己的即可~~
相关文章推荐
- mysql连接linux系统提示“登录出现1130 is not allowed to connect to this MySql server”问题,解决方法
- mysql连接linux系统提示“登录出现1130 is not allowed to connect to this MySql server”问题,解决方法
- mysql连接linux系统提示“登录出现1130 is not allowed to connect to this MySql server”问题的解决方法
- mysql连接linux系统提示“登录出现1130 is not allowed to connect to this MySql server”问题,解决方法
- mysql连接linux系统提示“登录出现1130 is not allowed to connect to this MySql server”问题,解决方法
- mysql连接提示“登录出现1130 is not allowed to connect to this MySql server,解决方法
- mysql连接linux系统提示“登录出现1130 is not allowed to connec
- 远程连接mysql 出现: 1130: Host is not allowed to connect to this MySQL server 解决
- 远程连接mysql时,提示“is not allowed to connect to this MySQL server”的解决方法
- mysql远程连接 Host * is not allowed to connect to this MySQL server问题解决方法
- 通过navicat连接mysql服务器提示SQL Error (1130): Host '192.168.1.100' is not allowed to connect to this MySQL server
- 解决远程连接MYSQL提示Host is not allowed to connect to this MySQL server
- 解决Navicat 报错:1130-host ... is not allowed to connect to this MySql server,MySQL不允许从远程访问的方法
- 远程连接MYSQL提示:Host XXX is not allowed to connect to this MySQL server 解决办法
- 两台电脑,不同网段,互相连接数据库Host is not allowed to connect to this MySQL server解决方法
- mysql远程连接:ERROR 1130 (HY000): Host '*.*.*.*' is not allowed to connect to this MySQL server解决办法
- mysql本地訪问linuxserver,出现SQLSTATE[HY000] [1130] Host '127.0.0.1' is not allowed to connect to this
- 解决ERROR 1130: Host '192.168.1.3' is not allowed to connect to this MySQL server 方法
- mysql远程访问 登录ERROR 1130: is not allowed to connect to this MySQL server解决办法
- 解决Navicat 报错:1130-host ... is not allowed to connect to this MySql server,MySQL不允许从远程访问的方法