MySQL Forums
Forum List  »  Newbie

Re: Connector/net - Access Denied problem
Posted by: Puiu Hrenciuc
Date: September 07, 2004 06:56PM

Connection=new MySqlConnection(
"Data Source="+Server
+";Database="+Database
+";User Id="+User
+";Password="+Password
+";Port="+Port.ToString()
+";Use compression="+(Settings.Values.DBUseCompression?"true":"false")
);

This is what I'm using and it works just fine. The only difference is that you have
PASSWORD uppercased ( i don't really think that this is the problem). You should
insert a breakpoint and see what ConnectStr really contains when it is passed to
MySqlConnection constructor.

Options: ReplyQuote


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


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.