I want to write a java stand alone application to connect to google cloud sql - MySql database. I could find samples for app client but not for a s
google cloud sql
MySql
You can just use the standard mysql connector to connect to cloud sql instance: e.g:
mysql
sql
DriverManager.getConnection("jdbc:mysql://IP:Instance_name?user=user_name");
You can check this link https://cloud.google.com/sql/docs/external for more information.