changed import sqlite3 to import mysqldb