use python mysqldb to manipulate mysql databases