I've been tasked with creating a script to convert Firebird databases to SQL. I was given to example files, one is a .FDB and one is a .GDB. Using the kinterbasdb library and Firebird Guardian 2.0, I was able to connect the the FDB file, but if I try the same code with the GDB file, I get an error message.
Code:
filename = r'C:\TEMP\TEST_DB.GDB'
user = 'sysdba'
password = 'masterkey
con = kinterbasdb.connect(dsn=filename, user=user, password=password)
Results:
kinterbasdb.OperationalError: (-820, 'isc_attach_database: \n unsupported on-disk structure for file C:\TEMP\TEST_DB.GDB; found 11.1, support 11.0')
Any advice would be helpful.