title: Connecting to Google cloud sql from Java stand alone application
body: <p>I want to write a java stand alone application to connect to <code>google cloud sql</code> - <code>MySql</code> database. I could find samples for app client but not for a stand alone java application. </p>
  
  <p>When I tried to do this, I get the following error. </p>
  
  <pre><code>Class.forName("com.mysql.jdbc.Driver");
  
  Connection con = DriverManager.getConnection("jdbc:google:mysql://IP:Instance_name?user=user_name");
  Statement st = con.createStatement();
  ResultSet rs = con.createStatement().executeQuery("SELECT 1 + 1");
  </code></pre>
  
  <p>It fails with error: </p>
  
  <p>No suitable driver found for <code>jdbc:google:mysql:..</code></p>
  
  <p>I see some answers where they have asked to enabled mysql connector. But it is the case with app engine project. How do I do it with stand alone application? </p>