MySQL Forums
Forum List  »  Newbie

Connector/net - Access Denied problem
Posted by: Kevin
Date: September 06, 2004 05:18PM

I just downloaded the Connector/Net so I could use it in my C# application and am having a connection problem. Whenever I try to actually open the connection it always returns "Acess Denied For User <user> (Using Password: ...)" I've tried several different users that I know work but I get the same result.

This is how I'm opening the connection.

string ConnectStr="Database=" + Database + "; Data Source=" + ServerName +
"; User Id=" + Username + "; PASSWORD=" + Password + "; ";

dbSrv=new MySqlConnection(ConnectStr);

dbSrv.Open();

Any ideas on what the problem could be?

Options: ReplyQuote


Subject
Written By
Posted
Connector/net - Access Denied problem
September 06, 2004 05:18PM


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.