Hi.
Python 3.9.9 with fdb 2.0.2
Firebird server version for arm64 from this issue.
I've got error fdb.fbcore.DatabaseError: ('Error while starting transaction:\n- SQLCODE: -904\n- invalid database handle (no active connection)', -904, 335544324) while execute this code below.
import fdb
con = fdb.connect(
dsn='10.X.XX.111:/base/test.gdb',
user='sysdba', password='password',
)
print (con.db_info(fdb.isc_info_user_names)) ## work
cur = con.cursor()
cur.execute("select 1 from rdb$database") ## Error
print(cur.fetchall())
I tried to connect with isql and execute query. It works fine.
Hi. Python 3.9.9 with fdb 2.0.2 Firebird server version for arm64 from this issue. I've got error fdb.fbcore.DatabaseError: ('Error while starting transaction:\n- SQLCODE: -904\n- invalid database handle (no active connection)', -904, 335544324) while execute this code below.
I tried to connect with isql and execute query. It works fine.