Hi Massimo,
My colleague discover that in the DAL of version 2.5.1, line 598 to 600,
the reconnect function checks for self.driver. However, in the case of GAE,
it uses GoogleSQLAdapter which does not set the self.driver since it uses
rdbms.connect as the connector causing the reconnect function to fail due
to an empty self.driver.
Hope you can advise us how we can help to patch GoogleSQLAdapter to make it
work.
Regards,
Jonathan
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 [email protected].
For more options, visit https://groups.google.com/groups/opt_out.