VS连接MySQL·:Unable to connect to any of the specified MySQL hosts(VS连接MySQL出错)
来源:互联网 发布:手机vpn软件 编辑:程序博客网 时间:2024/05/17 08:11
首先说明我在解决此问题时采用过的错误方法(这里仅相对于我遇到的问题而言):
1,考虑到可能是防火墙的问题,于是我把自己的电脑防火墙关闭了,重新测试发现无法解决问题;
2,可能是因为MySQL防火墙配置管理问题,所以我又把MySQL的防火墙配置为远程可连接,同样无法解决问题
3,尝试了新建防火墙端口出入规则,依然无法奏效
4,考虑可能是驱动有问题,于是安装了MySQL针对于.net 的驱动,可还是不行。
正确的处理方法:
不同的MySQL版本对服务器名的要求不同,VS连接MySQL数据库时不能用.或者MySQL的服务器名,而要用服务器IP地址或者本地的测试IP(localhost或者127.0.0.1)方能成功如下:
1 0
- VS连接MySQL·:Unable to connect to any of the specified MySQL hosts(VS连接MySQL出错)
- .net连接MySql:Unable to connect to any of the specified MySQL hosts
- Unable to connect to any of the specified MySQL hosts.
- Unable to connect to any of the specified MySQL hosts.
- mysql MySql Login Unable to connect to any of the specified MySQL hosts
- C#操作mysql数据库 unable to connect to any of the specified mysql hosts
- Visual Studio 2010--报错mysql:Unable to connect to any of the specified MySQL hosts
- vs连接mysql出错解决方法
- Navicat连接MySQL 出错:1130 host is not allowed to connect to this MySql server
- vs连接mysql
- VS MFC连接mysql
- 关于VS连接MYSQL
- VS如何连接Mysql
- Navicat连接MariaDB出错:1130-host . is not allowed to connect to this mysql server,
- 在万网虚拟主机上连接数据库出错mysqlnd cannot connect to MySQL 4.1+ using the old insecure authentication
- mysql无法连接服务器数据库(not allowed to connect )
- 配置远程连接mysql数据库 Connect to remote mysql database
- 连接MySQL错误:Can't connect to MySQL server (10060)
- Linux进程的创建
- 基于struts2的文件上传
- 数据迁移后的迁移结果比对方法
- STM32 RTC 读写不正确
- Regex: 0.正则表达式初探
- VS连接MySQL·:Unable to connect to any of the specified MySQL hosts(VS连接MySQL出错)
- hdu 计算机学院大学生程序设计竞赛(2015’11)搬砖
- java用户角色权限数据库设计
- kettle学习:JsonInput使用
- Android-Android6.0新特性-略讲1
- mysql循环结构
- hdu 计算机学院大学生程序设计竞赛(2015’11)投币洗衣机
- 【HDU5587 BestCoder Round 64 (div1)B】【迭代 前缀和思想】Array 前m个数的二进制中共有多少个1
- android.mk文件内容