The myprojectname-project vs myprojectname discrepancy is something I only
made here, it's not there in the code... No way to edit a post here :-(
On Tuesday, April 25, 2017 at 5:22:08 PM UTC+2, Karoly Kantor wrote:
>
> 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')
>
> This should connect to the data base and create a DAL object for me, which
> is the class for the data base abstraction layer. And this is what results
> in the App Engine log entry "Not authorized to access instance ...."
>
> Please note that the same line with a 1st gen instance works perfectly and
> connects me to the data base, although I am not setting a user name and
> password anywhere.
>
> db = DAL('google:sql://myprojectname:instance-1stgen-1/mysql')
>
> I start to suspect that web2py was written / tested with 1st gen where
> username / password were not necessary, and now it is broken with 2nd gen.
>
>
>
--
You received this message because you are subscribed to the Google Groups
"Google App Engine" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To post to this group, send email to [email protected].
Visit this group at https://groups.google.com/group/google-appengine.
To view this discussion on the web visit
https://groups.google.com/d/msgid/google-appengine/a25bec5d-4db5-4984-9e22-b0f40f3301b0%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.