delphi - 从 firebird 3.0.3 编译 cryptdb.dll 示例不起作用
问题描述
我正在尝试使用 Delphi Tokyo 构建它,当我尝试加密数据库时,我收到了以下消息:
- 加载插件 cryptdb.dll 时出错
- 模块 {FIRBIRDDIR}\plugins\cryptdb.dll 不包含插件 cryptdb.dll 类型 9
我的步骤:
- 安装火鸟 3.0.3 (NNF)
- 将 {FIRBIRDDIR}\examples\dbcrypt\crypdb.pas 重命名为 cryptdb.dpr,并构建
- 将 cryptdb.dll 复制到 {FIREBIRDDIR}\plugins
- isql employee2.fdb -user sysdba -pass masterkey
- 使用“cryptdb.dll”更改数据库加密;
- 不高兴,出现令人讨厌的错误消息。
任何想法我做错了什么?
解决方案
正如 Dimitry 在 firebird-support 邮件列表中指出的那样,插件的名称是cryptdb
,而不是cryptdb.dll
。
相反,您需要使用
alter database encrypt with cryptdb;
推荐阅读
- ruby-on-rails - 如何创建任务以根据最后一个孩子的日期更新父母的属性
- java - 代码一直说我没有在我的代码中为猜谜游戏初始化我的字符串变量“restart”
- arm - OpenOCD 不使用 STM32 Nucleo 板打开/监听任何端口
- flutter - 需要帮助理解 Mockito 中使用的“when”函数(用于 Flutter)
- json - 宏扩展不同步运行命令
- php - 调用 PHP curl GET 请求导致“curl 执行期间发生错误”
- android - Firebase 持久性系统是否可以帮助减少从实时数据库下载的数据?
- r - 嵌套 sapply 将整数值的 data.frame 转换为双精度值,同时在 R 中保留十进制值
- log4j - 如何使用编程配置方式在 log4j2 中配置 KafkaAppender?
- javascript - 使用 javascript 直接将超过 50 MB 的文件上传到 S3 存储桶