Fix: query.engine can be 'MySQLdb' for msyql.

query.engine could be 'mysql' or 'MySQLdb' for mysql driver.