Hello everyone ,
I am running into this issue, I accidentally installed the latest version odbc driver 1.5.4 on my mac, now I can’t this find "Dremio folder in my Library path as well as this driver /Library/Dremio/ODBC/lib/libdrillodbc_sbu.dylib’
I greatly appreciate contribution on how to find this driver path. Or has dremio change destination for dremio driver installation for mac?
this is my broken code
def conn_util():
try:
host = ''
port = ''
uid = ' '
pwd = ''
driver = '/Library/Dremio/ODBC/lib/libdrillodbc_sbu.dylib'
cnxn = pyodbc.connect("Driver={};ConnectionType=Direct;HOST={};PORT={};AuthenticationType=Plain;UID={};PWD={}".format(
driver, host, port, uid, pwsd), autocommit=True)
return cnxn
except:
logging.debug("check connection variable")