Am working on anypoint studio 6.6.8 with runtime 3.9.4EE. I have the following mssql generic database connection string.
jdbc:sqlserver://ABC.org:59000;databaseName=master;username=nrp;password=*37n%3b#wu;5r:;_1z~(f{1y{j
Test connection gives me the following error:
Test connection failed:
org.mule.module.db.internal.domain.connection.ConnectionCreationException: Cannot get connection for URL jdbc:sqlserver://ABC.org:59000;databaseName=master;username=nrp;password=<<credentials>>;5r:;_1z~(f{1y{j: The connection string contains a badly formed name or value
PS: I have 2 semi colons in password
I have seen similar question raised here earlier a few times, hence my question might look repetitive. however I tried the following solutions given in the replies. none of them worked. Please let me know if you have any alternate solution.
- Enclosing the password in single quotes.
- adding \ in front of ;
- Enclosing password within double quotes or {}
- Am not the admin hence removing ; from password cannot be done.