FirebirdSQL / fdb

Firebird Driver for Python
https://www.firebirdsql.org/en/devel-python-driver/
Other
60 stars 26 forks source link

-904 error in FireBird 2.5 #106

Closed DuarteVonFaul closed 2 years ago

DuarteVonFaul commented 2 years ago

when trying to connect to a firebird 2.5 database, it throws an error saying:

sqlalchemy.exc.DatabaseError: (fdb.fbcore.DatabaseError) ('Error while connecting to database:\n- SQLCODE: -904\n- unavailable database', -904, 335544375) (Background on this error at: https://sqlalche.me/e/14/4xp6)

pcisar commented 2 years ago

How this is FDB issue? The error message is from Firebird server reporting that it can't connect to specified database. This error can occur due to various reasons: an incorrect path to the database is specified, an incorrect version of the client library is used, and so on. Check, and make sure that you are using the correct path to the database, use the client library supplied with Firebird distribution to which you are trying to connect.