首页 > 解决方案 > 从 firebird 3.0.3 编译 cryptdb.dll 示例不起作用

问题描述

我正在尝试使用 Delphi Tokyo 构建它,当我尝试加密数据库时,我收到了以下消息:

- 加载插件 cryptdb.dll 时出错

- 模块 {FIRBIRDDIR}\plugins\cryptdb.dll 不包含插件 cryptdb.dll 类型 9

我的步骤:

  1. 安装火鸟 3.0.3 (NNF)
  2. 将 {FIRBIRDDIR}\examples\dbcrypt\crypdb.pas 重命名为 cryptdb.dpr,并构建
  3. 将 cryptdb.dll 复制到 {FIREBIRDDIR}\plugins
  4. isql employee2.fdb -user sysdba -pass masterkey
  5. 使用“cryptdb.dll”更改数据库加密;
  6. 不高兴,出现令人讨厌的错误消息。

任何想法我做错了什么?

标签: delphiencryptionfirebird

解决方案


正如 Dimitry 在 firebird-support 邮件列表中指出的那样,插件的名称是cryptdb,而不是cryptdb.dll

相反,您需要使用

alter database encrypt with cryptdb;

推荐阅读