I am unable to connect to mySQl db using pyodbc.
Here is a snippet of my script:
import pyodbc import csv cnxn = pyodbc.connect(\"DRIVER={MySQL ODBC
MySQLdb (or oursql) and pyodbc both have the same interface (DB-API 2), only you don't have to deal with ODBC's issues if you use the former. I strongly recommend you consider using MySQLdb (or oursql) instead.