Firebird 2.5 CHARACTER SET WIN1252未安装

时间:2013-06-27 22:23:53

标签: firebird freebsd firebird2.5

我使用以下方法在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连接并执行“show system collat​​ion;”。结果如下:

...
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我仍然会遇到同样的错误。

3 个答案:

答案 0 :(得分:6)

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

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

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

答案 1 :(得分:0)

似乎ICU的新端口更新存在问题,应该修复

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

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

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

答案 2 :(得分:0)

就我而言,我的firebird-super-server运行良好,直到我在CentOS 7中升级了软件包。然后出现以下错误。

错误MSG->

  

未安装Firebird 2.5 CHARACTER SET WIN1250

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