title: Connecting MySQl from lift app
body: <p>I am working with lift webframe work integrated with eclipse. I have downloaded one sample app from github and i processed some forms using OnSubmit concept. now I am trying to connect my app with MySQL to store my login credentials. i have given the following code in the boot.scala configuration and i added the jdbc driver. but i don't know what went wrong. its not working. can anybody give an idea. thanx in advance.</p>
  
  <pre><code>Class.forName("com.mysql.jdbc.Driver")
  
  def connection = DriverManager.getConnection(
          "jdbc:mysql://localhost/scalatest",
          "username", "pass")
  </code></pre>