为什么在打开Firebird数据库时出现不受支持的磁盘结构错误? [英] Why do I get an unsupported on-disk structure error when opening a Firebird database?

查看:527
本文介绍了为什么在打开Firebird数据库时出现不受支持的磁盘结构错误?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在尝试使用FlameRobin打开.fdb(Firebird)数据库,但它给了我以下错误消息:

*** 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

现在看来,它告诉我.fdb是较旧的版本(我假设它是指数据库文件,而不是FlameRobin!),所以我现在需要确定它是什么版本.

使用.fdb数据库的软件于2015年左右发布,但我不确定当时的Firebird版本是什么.

由于我无法打开文件,而且即使可以,我也不确定它会告诉我,如何确定它是什么版本,一旦确定了它是什么版本,我需要什么与FlameRobin进行连接?我是否需要旧版本的FlameRobin(当前为0.9.3.1870),或者是否存在允许打开旧文件的设置?

解决方案

该错误告诉您Firebird版本不了解数据库文件的磁盘结构(ODS)版本.该数据库文件具有ODS 11.2,而您的Firebird可以理解ODS 11.1(及更低版本).

ODS 11.2表示它是Firebird 2.5数据库,而对ODS 11.1的支持表示您当前正在使用Firebird 2.1服务器.为了能够读取数据库,您需要安装 Firebird 2.5 .

另请参见全部Firebird和InterBase磁盘结构(ODS)版本.

请注意,这与FlameRobin的版本无关.

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?

解决方案

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.

这篇关于为什么在打开Firebird数据库时出现不受支持的磁盘结构错误?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆