pyodbc.Error: Data source name not found, and no default driver specified (0) (SQLDriverConnect)')

Viewed 4794

I'm trying to access microsoft AZURE paid SQL database. I'm using the following

cnxn = pyodbc.connect('DRIVER={ODBC Driver 13 for SQL Server};Server=myserverhere,1433;Database=serverdb;Uid=myuidhere;Pwd={passhere};Encrypt=yes;TrustServerCertificate=no;Connection Timeout=30;')

I've followed their installation instructions everytime I run the file I get

pyodbc.Error: ('IM002', '[IM002] [unixODBC][Driver Manager]Data source name not found, and no default driver specified (0) (SQLDriverConnect)')
1 Answers
Related