ADO.NET connection string and password with "=" in it

Posted by Philippe Leybaert on Stack Overflow See other posts from Stack Overflow or by Philippe Leybaert
Published on 2010-04-06T13:46:07Z Indexed on 2010/04/06 13:53 UTC
Read the original article Hit count: 213

Filed under:
|
|

How do I build a connection string which includes a passsword having a "=" in it? (I'm connecting to MySql 5.1)

For example, let's say the password is "Ge5f8z=6", what would the connection string look like?

I tried:

Server=DBSERV;Database=mydb;UID=myuser;PWD="Ge5f8z=6";

and

Server=DBSERV;Database=mydb;UID=myuser;PWD=Ge5f8z=6;"

Both don't work.

© Stack Overflow or respective owner

Related posts about ADO.NET

Related posts about mysql