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/9b1ef44c-d58b-43a6-b064-cf863cfc18de%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
  • [google-appengine]... Karoly Kantor
    • [google-appen... 'George (Cloud Platform Support)' via Google App Engine
      • [google-a... Karoly Kantor
        • [goog... 'George (Cloud Platform Support)' via Google App Engine
          • [... Karoly Kantor
            • ... 'George (Cloud Platform Support)' via Google App Engine
              • ... Karoly Kantor
                • ... 'George (Cloud Platform Support)' via Google App Engine
                • ... Karoly Kantor
                • ... Karoly Kantor
                • ... 'George (Cloud Platform Support)' via Google App Engine
                • ... Karoly Kantor
                • ... Karoly Kantor
                • ... 'George (Cloud Platform Support)' via Google App Engine
                • ... Karoly Kantor
    • [google-appen... Karoly Kantor

Reply via email to