title: Play Framework MySQL connection using password different from default
body: <p>I don't have problems for connection with MySQL if I'm using this configuration in Play Framework application.conf:</p>
  
  <pre><code>db.default.url="jdbc:mysql://localhost:3306/play"
  db.default.driver=com.mysql.jdbc.Driver
  db.default.user=root
  db.default.pass=root
  </code></pre>
  
  <p>However when I use a user and password different from <code>root root</code> (I previously created in phpmyadmin from MAMP a user with name <code>play</code> and I checked <code>Create database with same name and grant all privileges</code> box), it returns me a "connection error".</p>
  
  <p>I tried with this, but it doesn't work:</p>
  
  <pre><code>db.default.url="jdbc:mysql://localhost:3306/play"
  db.default.driver=com.mysql.jdbc.Driver
  db.default.user=play
  db.default.pass=play
  </code></pre>
  
  <p>I tried also replacing the last line with this, but nothing:
  <code>db.default.pass="play"</code></p>
  
  <p>Where was I wrong?</p>