title: SQLException: The connection string contains a badly formed name or value
body: <p>I tried to connect to MS SQL Server staging environment but it displays </p>
  
  <pre><code>SQLException: The connection string contains a badly formed name or value
  </code></pre>
  
  <p>Where, my password contains <code>{</code> and <code>}</code> </p>
  
  <p><strong>How to correctly escape the characters?</strong> 
  My JDBC URL: </p>
  
  <p><code>jdbc:sqlserver://localhost;databaseName=WHOPQDTB_test;integratedSecurity=false;user=WHOPQDTB_user;password='ahsdgahgsd';</code></p>
  
  <p>I try login with different password and it says Exception: </p>
  
  <blockquote>
    <p>Login failed for user 'WHOPQDTB_user'.</p>
  </blockquote>
  
  <p>Please help. Thanks in advance.</p>