python - web2py GAE connection issue with google cloud SQL -


trying use web2py application on google gae. database google cloud sql. in local test environment, application works fine when trying deploy on gae + google cloud sql, data connection fails.

error in gae log: 'not authorized access instance: myapp.appspot.com:instance1'

the gae app granted access sql instance.

questions:

  1. i not sure "instance name" correct. found "instance 1" in examples, find name of actual db instance?

  2. is specification of user name required? (saw "root" being specified in connection strings), not on web2py user manual: specifies google:sql://project:instance/database


Comments

Popular posts from this blog

angularjs - ADAL JS Angular- WebAPI add a new role claim to the token -

php - CakePHP HttpSockets send array of paramms -

node.js - Using Node without global install -