MySQL Forums
Forum List  »  MySQL for Visual Studio

Message: Unable to connect to any of the specified MySQL hosts
Posted by: Aaron Esteban
Date: February 21, 2019 12:09PM

Hi,

I have built an application in VB.NET to connect to a MySQL database to check users registration, but here is the message that they keep getting each time that they try to run the application and check their registration on my website/domain where the MySQL database and server is located:

"Unable to connect to any of the specified MySQL hosts."


Here is the VB.NET code that I'm using to connect:

'MysqlConn.ConnectionString = "server=198.27.87.232;userid=MyUserID;password=MyPassword;database=aaronest_ekspdb"

AND I HAVE TRIED:

MysqlConn.ConnectionString = "Server=198.27.87.232;Port=3306;Database=aaronest_ekspdb;Uid=MyUserID;Pwd=MyPassword;"


But still, my client only see's the following message:
"Unable to connect to any of the specified MySQL hosts."


The software will connect and run great on most of my clients computers, but for some reason, every now and then, some clients receive the message above.

I have also tried to unblock my clients ports on her Windows 10 firewall to no avail.

Would appreciate the support.

Options: ReplyQuote


Subject
Views
Written By
Posted
Message: Unable to connect to any of the specified MySQL hosts
269
February 21, 2019 12:09PM


Sorry, only registered users may post in this forum.

Content reproduced on this site is the property of the respective copyright holders. It is not reviewed in advance by Oracle and does not necessarily represent the opinion of Oracle or any other party.