Fix mysqldb issue