In DAL of the version 2.5.1, line 598 to 600, the code checks for self.driver but in the case of using GAE, the GoogleSQLAdapter does not set that variable which causes it to fail.
Version 2.4.6 does not check for self.driver therefore it works. On Thursday, June 27, 2013 4:21:41 PM UTC+8, Jonathan New wrote: > > 2.4.6 works properly for me. > > But changing gluon to either 2.4.7 or 2.5.1, the "Skipping connection > since there's no driver" will appear. > I just tried the gluon from the master branch (2.6). Same issue. > > My GAE SDK is 1.8.1 > > > On Thursday, June 27, 2013 4:15:21 PM UTC+8, Massimo Di Pierro wrote: >> >> What you upgrading from? I cannot think of any change that would cause >> this. >> >> On Thursday, 27 June 2013 02:28:38 UTC-5, Jonathan New wrote: >>> >>> After upgrading Web2py to 2.5.1, it can't connects to Google's CloudSQL. >>> >>> The message from the log is >>> dal.py:599] Skipping connection since there's no driver. >>> dal.py:4926] 1 >>> >>> Reverting gluon back to 2.4.6 (the version we did our development on) >>> works. >>> >>> Is there any changes on the connection string? >>> >>> db = DAL("google:sql://app-id:instance/myapp", >>> check_reserved=('mysql',), migrate_enabled=True) >>> >>> >>> -- --- 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.