尝试连接到 Firebird 2.5 数据库,获取“-service path\database.FDB:service_mgr”未定义
Attempting to connect to Firebird 2.5 database, getting "-service path\database.FDB:service_mgr" is not defined
我正在尝试 运行 使用
进行跟踪
fbtracemgr -SE "localhost:C:\Users\user1\Desktop\db.FDB:service_mgr" -user SYSDBA -password masterkey -start -name "to" -config "C:\Users\user1\traceparameter.conf" > c:\Users\user1\dboutput.txt
Cannot attach to services manager
-service C:\Users\user1\Desktop\db.FDB:service_mgr is not defined
知道为什么会这样吗?!
我也尝试过不使用 :service_mgr
,我得到了相同的结果。
如果我引用一个不存在的数据库(使用随机 db.FDB 文件名)我得到相同的结果,所以它似乎与数据库本身完全无关?
您需要指定 -SE localhost:service_mgr
或 - 仅限本地 - -SE service_mgr
。 service_mgr
指定您连接到 Firebird 的“服务管理器”,而不是特定的数据库。换句话说,数据库名称不属于该连接字符串。
我正在尝试 运行 使用
进行跟踪fbtracemgr -SE "localhost:C:\Users\user1\Desktop\db.FDB:service_mgr" -user SYSDBA -password masterkey -start -name "to" -config "C:\Users\user1\traceparameter.conf" > c:\Users\user1\dboutput.txt
Cannot attach to services manager
-service C:\Users\user1\Desktop\db.FDB:service_mgr is not defined
知道为什么会这样吗?!
我也尝试过不使用 :service_mgr
,我得到了相同的结果。
如果我引用一个不存在的数据库(使用随机 db.FDB 文件名)我得到相同的结果,所以它似乎与数据库本身完全无关?
您需要指定 -SE localhost:service_mgr
或 - 仅限本地 - -SE service_mgr
。 service_mgr
指定您连接到 Firebird 的“服务管理器”,而不是特定的数据库。换句话说,数据库名称不属于该连接字符串。