DriverManager.registerDriver(new com.google.cloud.sql.Driver()); //
Actually this step may not be necessary.
String url = jdbc:google:rdbms://myinstance:sub
Connect c = new com.google.cloud.sql.Driver().connect(url, new
Properties());
The com.google.cloud.sql.Driver comes from the jar provided when you
download google_sql_tool.
You will also need to run the google sql tool once, to establish
credentials.
No comments:
Post a Comment