4

我在 FreeBsd 9.1 上安装了 Firebird-Server 2.5,使用:

pkg install firebird-server-2.5.2_1

它工作正常,因为我可以从外部 PC 使用 FlameRobin 进行连接。

现在,当我尝试使用 gbak 恢复数据库时,我得到了这个:

...
gbak: ERROR:    CHARACTER SET WIN1252 is not installed
gbak:Exiting before completion due to errors

我应该安装更多的服务器端吗?该数据库是在 Windows 机器上创建的,这就是它的字符集为 WIN1252 的原因。

编辑:在遇到一些麻烦后,我卸载了 firebird 并在不使用 SUDO 的情况下重新安装。

现在我可以使用 isql-fb 连接并执行“显示系统排序;”。结果如下:

...
TIS620_UNICODE, CHARACTER SET TIS620, PAD SPACE, SYSTEM
UCS_BASIC, CHARACTER SET UTF8, PAD SPACE, SYSTEM
UNICODE, CHARACTER SET UTF8, PAD SPACE, SYSTEM
UNICODE_CI, CHARACTER SET UTF8, FROM EXTERNAL ('UNICODE'), PAD SPACE, CASE INSENSITIVE, SYSTEM
UNICODE_CI_AI, CHARACTER SET UTF8, FROM EXTERNAL ('UNICODE'), PAD SPACE, CASE INSENSITIVE, ACCENT   INSENSITIVE, SYSTEM
UNICODE_FSS, CHARACTER SET UNICODE_FSS, PAD SPACE, SYSTEM
UTF8, CHARACTER SET UTF8, PAD SPACE, SYSTEM
WIN1250, CHARACTER SET WIN1250, PAD SPACE, SYSTEM
WIN1251, CHARACTER SET WIN1251, PAD SPACE, SYSTEM
WIN1251_UA, CHARACTER SET WIN1251, PAD SPACE, SYSTEM
WIN1252, CHARACTER SET WIN1252, PAD SPACE, SYSTEM
WIN1253, CHARACTER SET WIN1253, PAD SPACE, SYSTEM
WIN1254, CHARACTER SET WIN1254, PAD SPACE, SYSTEM
WIN1255, CHARACTER SET WIN1255, PAD SPACE, SYSTEM
WIN1256, CHARACTER SET WIN1256, PAD SPACE, SYSTEM
WIN1257, CHARACTER SET WIN1257, PAD SPACE, SYSTEM
WIN1257_EE, CHARACTER SET WIN1257, PAD SPACE, SYSTEM
WIN1257_LT, CHARACTER SET WIN1257, PAD SPACE, SYSTEM
WIN1257_LV, CHARACTER SET WIN1257, PAD SPACE, SYSTEM
WIN1258, CHARACTER SET WIN1258, PAD SPACE, SYSTEM
WIN_CZ, CHARACTER SET WIN1250, PAD SPACE, CASE INSENSITIVE, SYSTEM
WIN_CZ_CI_AI, CHARACTER SET WIN1250, PAD SPACE, CASE INSENSITIVE, ACCENT INSENSITIVE, SYSTEM
WIN_PTBR, CHARACTER SET WIN1252, PAD SPACE, CASE INSENSITIVE, ACCENT INSENSITIVE, SYSTEM

...但使用 gbak 我仍然得到同样的错误。

4

3 回答 3

6

您无权访问intl子文件夹。几个原因:

  • 您无权访问它(主要在 linux/unix 操作系统上)
  • 使用没有intl子文件夹副本的嵌入式fbembed.dll
  • 你的路径有问题,Firebird 找不到intl子文件夹

大多数这些原因可以通过简单的重新安装服务器来解决。如果它是嵌入式的,那么你只需要复制intl文件夹,其中fbembed.dll存在

于 2013-12-16T14:02:00.970 回答
0

似乎这是 ICU 新端口更新的问题,应该修复

http://svnweb.freebsd.org/ports?view=revision&revision=328894

您可以在此处查看其他更改

http://www.freshports.org/databases/firebird25-server/

于 2014-02-05T07:27:28.003 回答
0

就我而言,我的 firebird-super-server 工作正常,直到我在 CentOS 7 中升级了软件包。然后我收到下面提到的错误。

错误信息->

Firebird 2.5 CHARACTER SET WIN1250 未安装

解决方案 :将 firebird-super-server 更改为 firebird-super-classic 后解决了我的问题。

于 2018-09-27T09:39:04.260 回答