passwords with special characters lead to an error in "toad for mysql" -
passwords with special characters lead to an error in "toad for mysql" -
my mysql business relationship has password special char "
in it. if seek connect mysql server toad mysql, leads next error (i got in german):
system.argumentexception das format der initialisierungszeichenfolge stimmt nicht mit der spezifikation überein, die bei index '19' beginnt. stack trace: bei system.data.common.dbconnectionoptions.getkeyvaluepair(string connectionstring, int32 currentposition, stringbuilder buffer, boolean useodbcrules, string& keyname, string& keyvalue) bei system.data.common.dbconnectionoptions.parseinternal(hashtable parsetable, string connectionstring, boolean buildchain, hashtable synonyms, boolean firstkey) bei system.data.common.dbconnectionoptions..ctor(string connectionstring, hashtable synonyms, boolean useodbcrules) bei system.data.common.dbconnectionstringbuilder.set_connectionstring(string value) bei mysql.data.mysqlclient.mysqlconnectionstringbuilder..ctor(string connstr) bei mysql.data.mysqlclient.mysqlconnection.set_connectionstring(string value) bei mysql.data.mysqlclient.mysqlconnection..ctor(string connectionstring) bei quest.toad.mysql.mysqlconnection.createconnection() bei quest.toad.mysql.mysqlconnection.dobeforeconnect() bei quest.toad.db.connection.connect(boolean notify) bei quest.toad.db.provider.backgroundconnector.createbackgroundconnection()
how avoid error without having alter password? (on business relationship doesn't utilize special chars in password it's working)
update: tried escape \"
- leads same error.
update 2: tried write password in single quotes illustration 'pass"word'
- leads same error.
update 3: "pass\"word"
leads same error.
use '
single quote around password. if password (for example) jell"y
utilize like
mysql -u root -p'jell"y'
have never used toad toad's back upwards page says use
set escape on
then escape special character using \
not sure may help. thought of posting.
mysql toad
Comments
Post a Comment