I want to access a gdb file with python. I'm new to firebird and interbase.
I can access my file with this command: (Debian 8.4) isql-fb mydb.gdb
How can I connect to same file with Python? I tried fdb and kinterbasdb and always get an error message:
I have tried these lines:
con = fdb.connect(dsn='/home/bruno/Desktop/mydb.gdb')
con = fdb.connect(dsn='localhost:/home/bruno/Desktop/mydb.gdb')
con = fdb.connect(dsn='/home/bruno/Desktop/mydb.gdb', user='SYSDBA', password='*****')
The error is always something like:
fdb.fbcore.DatabaseError: ('Error while connecting to database:\n- SQLCODE: -902\n- Your user name and password are not defined. Ask your database administrator to set up a Firebird login.', -902, 335544472)
Thank you for your help