I use MySqlConnector to make a connection to a database. When constructing my connection string the user has a password which contains a special character ("€") and his password is "€ test". The fact that this character is passed to the connection string returns the "acces deined" error. Do you know what to do to allow the connection with this type of character in the password?
string connStr = server=127.0.0.1;user=test;database=EXPERT_alpha;port=3306;password='€test'; convert zero datetime=True;Pooling=False;
mySQlCnx = new MySqlConnection(connStr); mySQlCnx.Open();
How about using € instead of €?
€
string connStr = server=127.0.0.1;user=test;database=EXPERT_alpha;port=3306;password='€test'; convert zero datetime=True;Pooling=False;
2.1m questions
2.1m answers
60 comments
57.0k users