I have started working with web2py + gae and a Cloud SQL database. The
application db connection string is :
db = DAL('google:sql://cloud1:ctm-manager/ctmdb')
Logs on GAE show the following:
File
"/base/data/home/runtimes/python27/python27_lib/versions/1/google/storage/speckle/python/api/rdbms.py",
line 946, in MakeRequest raise _ToDbApiException(response.sql_exception)
InternalError: (0, u'Not authorized to access instance: cloud1:ctm-manager')
The gae app is authorized to use the Cloud SQL instance. Does mysql client
need to be used manually to make some initial db modifications before the
web2py app can get access?
Tried both web2py version 2.8.1 and current trunk.
I have read through the google:sql related posts on this group, but cannot
yet see what is missing?
Any help/tips appreciated,
thanks
--
Resources:
- http://web2py.com
- http://web2py.com/book (Documentation)
- http://github.com/web2py/web2py (Source code)
- https://code.google.com/p/web2py/issues/list (Report Issues)
---
You received this message because you are subscribed to the Google Groups
"web2py-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
For more options, visit https://groups.google.com/groups/opt_out.