Error: ('HY000', 'The driver did not supply an error!')

303 views
Skip to first unread message

Pradeep Kumar

unread,
Jan 14, 2020, 7:03:04 AM1/14/20
to pyodbc
Hi ,

I'm using below script to install pyodbc and other drivers

%sh
curl https://packages.microsoft.com/config/ubuntu/16.04/prod.list > /etc/apt/sources.list.d/mssql-release.list
apt-get update
ACCEPT_EULA=Y apt-get install msodbcsql17
apt-get -y install unixodbc-dev
/databricks/python/bin/pip install pyodbc

While connecting cnxn = pyodbc.connect(),

Error: ('HY000', 'The driver did not supply an error!') is thrown.

Why the above error occurs? How to resolve please suggest.
Reply all
Reply to author
Forward
0 new messages