I am trying to connect to Cloud Sql 2nd generation by using jdbc connector, by typing:
url = jdbc:google:mysql://project:region:instance/database?user=root
However, when doing this:
DriverManager.getConnection(url);
All I get is a null value.
I did not experience any trouble with first generation and old connection string, but I am not able to get this one working.
Anything in particular that I should consider like settings, missing code/connector? Any help will be greatly appreciated.
Thanks in advance!