examples of using MySQLdb