When connecting to CloudSql from a Google Dataflow job
public String cnstr = "jdbc:google:mysql://xxx:zzz:yyy/dbname?user=root&password=****";
Connection conn = DriverManager.getConnection(cnstr);
PreparedStatement st = conn.prepareStatement(selectSql))
I got this error:
No suitable driver found for jdbc:google:mysql:
Any help?
source
share