Hello Karoly,
Have you granted access to your app engine application? You may find an example in the “Using Google Cloud SQL” online document. Have you followed the indicated steps or a similar procedure?
More detail on your connection setup and connecting attempts should prove quite helpful.
Your first generation CloudSQL instance has the app name as an authorized user, the second generation doesn’t. What happens if you create a service account for your app on the second generation instance?
Your logs show connection errors to the instance from a user without password.
Dear George,Actually, I am using the open source web2py framework ( www.web2py.com ), and the relevant part of my own code is one line only:
db = DAL('google:sql://myprojectname-project:europe-west1:instance-2ndgen-1/mysql')
Google/SQL | google:sql://project:instance/database |