connecting to old ftta db using MySQLdb