I compile the program to connect to ms access database as follow:
conn_string = (
r'DRIVER={Microsoft Access Driver (*.mdb, *.accdb)};'
r'DBQ=C:\folder_name\EVT_LOG.mdb;')
And this works fine as intended.
Then I try to deploy into remote server/client situation where the database is located in the client and server have to access it, so I revamped the connection string as follow:
conn_string = (
r'DRIVER={Microsoft Access Driver (*.mdb, *.accdb)};'
r'DBQ=\\10.80.112.81\folder_name\EVT_LOG.mdb;')
This one got pyodbc.error data source name not found. Any idea on doing this pyodbc on remote database?