title: Error when i try connect play with mysql 5.5
body: <p>There is my configure : 
   <i></p>
  
  <pre><code> db.default.driver=com.mysql.jdbc.Driver
   db.default.url="jdbc:mysql:root:play2test" //Cannot connect to database [default] -&gt; play mark this line
   db.default.user=root
   db.default.pass=123456
  </code></pre>
  
  <p></i>
  I already created play2test.mwb with MySql-workbench, i have tried other way like :
   <i></p>
  
  <pre><code> db.default.driver="com.mysql.jdbc.Driver"
   db.default.url="jdbc:mysql:root:play2test" 
   db.default.user="root"
   db.default.pass="123456"
  </code></pre>
  
  <p></i>
  but allways get this error : db has type STRING rather than OBJECT</p>
  
  <p>in terminal : 
  <i></p>
  
  <pre><code>[error] c.j.b.h.AbstractConnectionHook - Failed to obtain initial connection Sleeping for 0ms and trying again. Attempts left: 0. Exception: null
  [error] application - 
  
  ! @6epj0nb4d - Internal server error, for request [GET /] -&gt;
  
  play.api.Configuration$$anon$1: Configuration error [Cannot connect to database [default]]
      at play.api.Configuration$.play$api$Configuration$$configError(Configuration.scala:71) ~[play_2.9.1.jar:2.0.4]
      at play.api.Configuration.reportError(Configuration.scala:258) ~[play_2.9.1.jar:2.0.4]
      at play.api.db.BoneCPPlugin$$anonfun$onStart$1.apply(DB.scala:249) ~[play_2.9.1.jar:2.0.4]
      at play.api.db.BoneCPPlugin$$anonfun$onStart$1.apply(DB.scala:240) ~[play_2.9.1.jar:2.0.4]
      at scala.collection.TraversableLike$$anonfun$map$1.apply(TraversableLike.scala:194) ~[scala-library.jar:0.11.3]
      at scala.collection.TraversableLike$$anonfun$map$1.apply(TraversableLike.scala:194) ~[scala-library.jar:0.11.3]
  Caused by: java.sql.SQLException: No suitable driver found for jdbc:mysql:root:play2test
      at java.sql.DriverManager.getConnection(DriverManager.java:640) ~[na:1.6.0_27]
      at java.sql.DriverManager.getConnection(DriverManager.java:200) ~[na:1.6.0_27]
      at com.jolbox.bonecp.BoneCP.obtainRawInternalConnection(BoneCP.java:256) ~[bonecp.jar:0.7.1.RELEASE]
      at com.jolbox.bonecp.BoneCP.&lt;init&gt;(BoneCP.java:305) ~[bonecp.jar:0.7.1.RELEASE]
      at com.jolbox.bonecp.BoneCPDataSource.maybeInit(BoneCPDataSource.java:150) ~[bonecp.jar:0.7.1.RELEASE]
      at com.jolbox.bonecp.BoneCPDataSource.getConnection(BoneCPDataSource.java:112) ~[bonecp.jar:0.7.1.RELEASE]
  </code></pre>
  
  <p></i></p>
  
  <p>I tried to uncomment at 
  <i></p>
  
  <pre><code>ebean.default="models.*"
  </code></pre>
  
  <p></i></p>
  
  <p>and added the sbt dependency:
  <i></p>
  
  <pre><code> "mysql" % "mysql-connector-java" % "5.1.21"
  </code></pre>
  
  <p></i>
  But it did'nt work :((((
  So how can i solved it :(.</p>
  
  <blockquote>
    <blockquote>
      <blockquote>
        <p>Sry if my english is bad</p>
      </blockquote>
    </blockquote>
  </blockquote>