Connecting From ASP.NET Framework 3.5 to MySql error
Hi,
I have a problem connecting to MySQL from VS 2010 (C#) (Framework 3.5)
I downloaded the mysql-connector-net-5.2.7-noinstall package. I added the mysql.data.dll in my application (console application).
My connectionstring is as follows:
mysqlConn.ConnectionString = "server=" + sMySQLServer + ";uid=" + sMySQLDBUser + ";pwd=" + sMySQLDBPwd + ";database=" + sMySQLDB + ";";
When it tries to connect I get the following exception:
No connection could be made because the target machine actively refused it (here it puts the ip):3306
Source: MySql.Data
Please help.
Thanks in advanced
Subject
Written By
Posted
Connecting From ASP.NET Framework 3.5 to MySql error
January 08, 2013 07:08AM
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.