Search code examples
mysqlvb.netvisual-studio-2008

Accessing MySQL database from my VB.NET 2008 Project


I developed a project in VB.NET. In this project I want to use data from MySQL that is resides in my WEB server.

I can communicate with the MySQL server of my localhost but can not communicate with the WEB server.

In my CPanel I added Host from the Remote Database Access.

But I can't communicate with WEB MySQL server.


Solution

  • Since your post indicates you can access the DB on your localhost, it doesn't seem to be an issue with the way you're connecting to the DB from your application (.NET-Connector?).

    What does the external MySQL-Server say? Access denied? Or can't you reach it from the pc where your application is hosted (aka maybe a firewall regulation, other network etc.)?