mysql连接linux系统提示“登录出现1130 is not allowed to connect to this MySql server”问题,解决方法
来源:互联网 发布:机电一体化建模软件 编辑:程序博客网 时间:2024/05/16 14:40
下投票
163下投票
您的root
帐户,此声明适用于任何帐户,只能添加本地访问权限(建议使用)。
您可以查看:
SELECT host FROM mysql.user WHERE User = 'root';
如果您只看到结果,localhost
并且127.0.0.1
您无法从外部来源连接。如果您看到其他IP地址,但不是您正在连接的IP地址,这也是一个迹象。
服务器没有授权给你这个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换成自己的即可~~
FLUSH PRIVILEGES;
阅读全文
0 0
- 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连接linux系统提示“登录出现1130 is not allowed to connect to this MySql server”问题的解决方法
- mysql连接提示“登录出现1130 is not allowed to connect to this MySql server,解决方法
- 远程连接mysql时,提示“is not allowed to connect to this MySQL server”的解决方法
- 远程连接mysql 出现: 1130: Host is not allowed to connect to this MySQL server 解决
- 连接远程MYSQL提示 is not allowed to connect to this mysql 解决方法
- 远程连接MYSQL提示Host is not allowed to connect to this MySQL server
- 远程连接MYSQL提示Host is not allowed to connect to this MySQL server(...
- 远程连接MYSQL提示Host is not allowed to connect to this MySQL server
- 远程连接MYSQL提示Host is not allowed to connect to this MySQL server(转)
- 远程连接MYSQL提示Host is not allowed to connect to this MySQL server
- 远程连接MYSQL提示 Host *** is not allowed to connect to this MySQL server
- 远程连接MYSQL提示Host is not allowed to connect to this MySQL server
- 远程连接MYSQL提示Host is not allowed to connect to this MySQL server
- Gamma 校正
- GAN相关论文
- codility AbsDistinct
- Androidstudio SVN 资源库 资源管理器 资源管理中心
- C# winfrom 中自定义的翻页控件(自己设计)
- mysql连接linux系统提示“登录出现1130 is not allowed to connect to this MySql server”问题,解决方法
- 时间格式化
- gcc编译选项(持续)
- SSM框架——详细整合教程(Spring+SpringMVC+MyBatis)
- solr7.0 中文分词+拼音分词
- 申请获取权限无效问题分析
- Android 网络框架_常用的网络框架
- win10更改IP地址遇错(出现了一个意外情况,不能完成你的更改)
- Android 多进程multiprocess 详解