Connecting via TCP/IP through a firewall
Posted by: Robert Adkison
Date: November 07, 2004 05:46PM

I am trying to connect to my MySql Database using Connector/NET for my ASP.NET application. I normally have no problem connecting to the database, but I have been given the challenge of connecting to my MySql database from a web server in the DMZ through a firewall. The port 1432 has been opened in the firewall to make this connection. The server that I am connecting to has the Address of

I am using the connection string:

When I try to connect I get the error message:
Unable to connect to any specified MySql host.

The web server does not contain any other kind of MySql installation. In my bin directory the MySql.Data.dll is present.

I was able to get a connection to SQL Server on the same web server, but I did have to install MDAC. Do I have to include any other files besides the Connection/NET (MySql.Data.dll) DLL.

Options: ReplyQuote

Written By
Connecting via TCP/IP through a firewall
November 07, 2004 05:46PM

Sorry, you can't reply to this topic. It has been closed.

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.