On 15 Mar 2013, at 7:34 PM, Massimo Di Pierro <[email protected]> wrote: > On Friday, 15 March 2013 19:31:07 UTC-5, Jonathan Lundell wrote: > On 15 Mar 2013, at 3:44 PM, Martín Mulone <[email protected]> wrote: >> In my experience recently I had many problems with pymysql, so I switch to >> mysqldb using dal. >> >> > > I'll give it a try. A question, though. The book suggests: > >> from gluon.dal import MySQLAdapter >> MySQLAdapter.driver = mysqldb > > > should be > >> MySQLAdapter.driver = 'mysqldb' > > > > Basically is a list of names of supported drivers MySQLAdapter.drivers and > MySQLAdapter.driver is the name of the selected one. Must be installed.
See my later message to the dev list, though. There is no driver name 'mysqldb', though there is one 'MySQLdb'. And the adapter code already has two different mechanisms for specifying its name at DAL init time. -- --- 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.

