Hi, I want to connect to CloudSQL from my Ads Script. I can do this with the generic Jdbc method Jdbc.getConnection(url, user, password); but it fails with the recommended method Jdbc.getCloudSqlConnection(url, user, password);
Failed to establish a database connection. Check connection string, username and password. I checked them. Several times. URL for getConnection(): 'jdbc:mysql://123.123.123.123/database' URL for getCloudSqlConnection(): 'jdbc:google:mysql://project:europe-west1:instance/database' Disadvantages of the generic method are - Need to put external IP-Address in connection string. - Need to whitelist Ads Script server IP in Cloud SQL. IPs may change and break the functionality of my script. Has anyone succeeded in connecting to Cloud SQL with getCloudSqlConnection() ? Can you tell me what I need to change? Thanks Robert -- -- =~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~ Also find us on our blog: https://googleadsdeveloper.blogspot.com/ =~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~ You received this message because you are subscribed to the Google Groups "AdWords API and Google Ads API Forum" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/adwords-api?hl=en --- You received this message because you are subscribed to the Google Groups "AdWords API and Google Ads API Forum" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/adwords-api/ac2f68e9-3a51-436f-b91d-8e4df85a892b%40googlegroups.com.
