There is a file in .FDB format .FDB I am writing a script that could read it and change some data.
import pyodbc query = "SELECT CURTIME();" datab='driver={MySQL ODBC 3.51 Driver};server=localhost;database=PTKAZS.FDB;uid=login;pwd=password' conn = pyodbc.connect(datab) cursor = conn.cursor() cursor.execute(query) row = cursor.fetchall() print(row) But when starting, it gives an error: Traceback (most recent call last): File "connect_db_1.py", line 8, in <module> conn = pyodbc.connect(datab) pyodbc.Error: ('01000', "[01000] [unixODBC][Driver Manager]Can't open lib 'MySQL ODBC 3.51 Driver' : file not found (0) (SQLDriverConnect)")