"isc_attach_database failed" error FlameRobin for connect Firebird database

5.8k Views Asked by At

I'm trying setup Firebird 2.5 with FlameRobin 0.9.3, installed on Windows 10 64bit. The .fdb files are on the same disk of the Firebird machine and the FlameRobin program.

My DB Files located D: drive

I'm trying to connect EMPLOYEE.FDB file with FlameRobin getting this error.

FlameRobin error

My settings for this database file below.

My settings

I never changed my sysdba password. Is it due to this error ODBC driver?

Edit: I've created a new database on ISQL to try. Username: SYSDBA Password: 31202333

Successful create database

But I am getting same error on FlameRobin.

Same error

1

There are 1 best solutions below

9
Mark Rotteveel On

The error means that your username does not exist (unlikely for SYSDBA), or the password is incorrect*. In Firebird, passwords are system wide, not per database. Check your password (default installations of Firebird on Windows use the password 'masterkey'). Otherwise try resetting the password using gsec.

The fact it might work with ISQL, is that you're using a local path, which may cause ISQL to use Firebird embedded mode, and in embedded mode on Windows, the password is ignored (on the assumption that if you have filesystem access to the database file, you are allowed to open database). I guess that, if instead of 'D:\sq\sample.fdb', you'd use 'localhost:D:\sq\sample.fdb' in ISQL, you would get the same error as in FlameRobin.

*: In Firebird 3 and later it can also mean that the user does not exist for the authentication plugins tried, even though the user may exist for a different authentication plugin.