Problems using .Net Connector 5.0.3 & VS 2005 SP1
Posted by: Garth Truter
Date: January 22, 2007 01:39PM

Hi there,

I am having problems connecting to MySql 4.1 using the MySQL .NET Connector 5.0.3. When I run the code I get the following:

Error:
Object reference not set to an instance of an object.

Code:
string myConnString =
"Persist Security Info=False;database=anatomy;server=192.168.0.2;user id=root;pwd=P@ssword";
MySqlConnection myConnection = new MySqlConnection(myConnString);
myConnection.Open();

Any help would be appreciated.

Thanks,

Garth.



Edited 1 time(s). Last edit at 01/22/2007 01:40PM by Garth Truter.

Options: ReplyQuote


Subject
Written By
Posted
Problems using .Net Connector 5.0.3 & VS 2005 SP1
January 22, 2007 01:39PM


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.