Is it happening locally? Did you install MySQLdb? 

I app.yaml you have to add under "libraries"

- name: MySQLdb
  version: "latest"

Finally you have to add your MySQL credential to dev_appserver.py like:

dev_appserver.py [root folder of web2py] --mysql_user=[mysql user] 
--mysql_password=[mysql password]





On Thursday, 22 October 2015 00:39:16 UTC+2, Tom Campbell wrote:
>
> My app is named todo.
> I want to deploy it to GAE using Google Cloud SQL.
> Connection looks like this:
>
> if not request.env.web2py_runtime_gae:
>     db = DAL(myconf.take('db.uri'), pool_size=myconf.take('db.pool_size', 
> cast=int), check_reserved=['all'])
> else:
>     db = DAL('google:sql://gigcity-1951:dbtest/tomsdatabase')
>     # etc.    
>
> When I try to connect I get an "Internal error":
> https://gigcity-1951.appspot.com/todo/
>
> If I click the ticket link the ticket's missing.
>
> Clue: It's not asking me for my Google credentials.
>

-- 
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/d/optout.

Reply via email to