I do not believe GAE allows connections to external MySQL services. You 
have to connect to theirs with using DAL('google:sql://...')

On Thursday, 15 August 2013 02:33:04 UTC-5, Grace wrote:
>
> Hi, 
>
> I am trying to work with Web2py for GAE, connect to my local MySQL. When I 
> use DAL, with the following command: 
> db = DAL('mysql://username:password@localhost/dbname') 
>
> GAE log show the following: 
> RuntimeError: no driver available ('MySQLdb', 'pymysql') 
>
> but the above command work perfectly from web2py server. 
>
> Can someone please assist ? 
>
> I have try the following too: 
> 1. From Python, I can use "import pymysql" without error 
> 2. From Python, I can use "import MySQLdb" without error 
> (because I have install all relevant adapters following other threads 
> suggestion.) 
>
> Thanks ! 
>
>
>

-- 

--- 
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 web2py+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.

Reply via email to