Firebird3.0安装使用

Ubuntu20,apt安装

apt install firebird3.0 firebird-dev firebird3.0-server firebird3.0-server-core firebird3.0-utils libdbd-firebird-perl

测试数据库

isql-fb /var/lib/firebird/3.0/system/security3.fdb -user sysdba -password masterkey

重启服务

service firebird3.0 restart
配置文件目录

/etc/firebird/3.0

编辑 /etc/firebird/3.0/firebird.conf 文件

    DatabaseAccess = Full
    表示所有目录的数据库都可以访问
    DatabaseAccess = None
    表示只有“别名数据库”可以访问
    选择默认即可

    RemoteAccess = true
    允许远程访问,建议开启,要不然很多都操作不了

    RemoteBindAddress = localhost
    远程访问地址绑定,有非本机(127.0.0.1)访问需求的,把这行注释掉加#,建议注释掉
    Firebird2.5版本
    RemoteBindAddress = 0.0.0.0

问题

connection rejected by remote interface

编辑/etc/firebird/3.0/firebird.conf,
取消注释(如果使用fbclient 2.x),
并更改以下参数以禁用WireCrypt并为旧式身份验证设置更高的优先级:

WireCrypt = Disabled
AuthServer = Legacy_Auth, Srp, Win_Sspi
AuthClient = Legacy_Auth, Srp, Win_Sspi