title: Mysql session variable in JDBC string
body: <p>am using this connection string to connect to mysql from java:</p>
  
  <blockquote>
    <p><code>jdbc:mysql://localhost:3306/db?noDatetimeStringSync=true&amp;useUnicode=yes&amp;characterEncoding=UTF-8</code></p>
  </blockquote>
  
  <p>is it possible to set the session variable in the string so that <code>SET UNIQUE_CHECKS=0;</code> would be executed upon connecting to server? the obvious </p>
  
  <blockquote>
    <p><code>jdbc:mysql://localhost:3306/db?noDatetimeStringSync=true&amp;useUnicode=yes&amp;characterEncoding=UTF-8&amp;unique_checks=0</code></p>
  </blockquote>
  
  <p>doesn't seem to work, based on the fact that </p>
  
  <blockquote>
    <p>'jdbc:mysql://localhost:3306/db?noDatetimeStringSync=true&amp;useUnicode=yes&amp;characterEncoding=UTF-8&amp;unique_checks=blahblah`</p>
  </blockquote>
  
  <p>doesn't generate any error.</p>
  
  <p>Cheers!</p>