Format of the initialization string does not conform to specification starting at index 70.

I am trying to connect to an Mysql database through c# web service

The password for the database is a~Sz4x;1)X(N
The above password has ; in it which is a line terminator in c#
it throws below error

Format of the initialization string does not conform to specification starting at index 70.

Any help will be appreciated.

0 answers