I have an app running just fine with mySQL on web2py 1.64.3. I decided
to make sure it would still work under web2py 1.66.2. When I try to
run it, I get a ticket that has this message:
File "C:\web2py\gluon\sql.py", line 730, in <lambda>
self._pool_connection(lambda : MySQLdb.Connection(
NameError: global name 'MySQLdb' is not defined
My db connection is made as follows:
db = DAL('mysql://myapp:passw...@localhost:3306/myapp')
Any idea why it shouldn't be working with the latest version of
web2py? The 1.64.3 version is a windows binary. The 1.66.2 version is
a windows source install. The doc seems to imply that I need a mysql
driver. I hunted around for the driver on the web2py site but couldn't
find it. Is this something I need to get from source forge?
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"web2py-users" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/web2py?hl=en
-~----------~----~----~----~------~----~------~--~---