Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Why do I get an unsupported on-disk structure error when opening a Firebird database?

Tags:

firebird

I'm trying to open a .fdb (Firebird) database using FlameRobin but it is giving me the following error message:

*** IBPP::SQLException ***
Context: Database::Connect
Message: isc_attach_database_failed

SQL Message: -820
wrong or obsolete version
Engine Code:335544379
Engine Message:
unsupported on-disk structure for file c:\ccmb\cm.fdb; found 11.2, support 11.1

Now it looks like it is telling me the .fdb is an older version (I assume it is referring to the database file and not FlameRobin!) so I now need to determine what version it is.

The software using the .fdb database was released around 2015 but I'm not sure of which version of Firebird was around then.

Since I cannot open the file, and I'm not sure it would tell me even if I could, how do I find out what version it is and once I've found out what version it is, what do I need to do with FlameRobin in order to get it to connect? Do I need an older version of FlameRobin (currently 0.9.3.1870) or is are there settings which allow opening of older files?

like image 830
cosmarchy Avatar asked Apr 26 '17 19:04

cosmarchy


People also ask

What SQL does Firebird use?

Firebird is a relational database offering many ANSI SQL standard features that runs on Linux, Windows, and a variety of Unix platforms. Firebird offers excellent concurrency, high performance, and powerful language support for stored procedures and triggers.

Is Firebird SQL free?

Firebird is a free, open-source database management system, but “free” does not mean that everything is permitted. The use of Firebird is governed by two licenses: the IPL (InterBase Public License) and the IDPL (Initial Developer's Public License).


1 Answers

The error tells you that your Firebird version does not understand the on-disk structure (ODS) version of the database file. The database file has ODS 11.2, while your Firebird understands ODS 11.1 (and lower).

ODS 11.2 means it is a Firebird 2.5 database, while support for ODS 11.1 indicates you are currently using a Firebird 2.1 server. To be able to read the database, you will need to install Firebird 2.5.

See also All Firebird and InterBase On-Disk-Structure (ODS) versions.

Note that this is unrelated to the version of FlameRobin.

like image 117
Mark Rotteveel Avatar answered Oct 26 '22 20:10

Mark Rotteveel