问题描述
如果Interbase和Firebird都安装在同一工作站上,是否有冲突?有人对此有任何提示或最佳做法吗?
Are there any conflicts if both Interbase and Firebird are installed on the same workstation?Does anyone have any tips or best practices for this?
推荐答案
Interbase默认使用端口3050.因此,您必须为同一台计算机上的Firebird服务器选择另一个编号.端口号通过firebird.conf文件指定.更改conf文件后,您必须重新启动Firebird服务.
Interbase uses port 3050 by default. So, you have to choose another number for Firebird server on the same machine. Port number is specified through firebird.conf file. You have to restart Firebird service after changing conf file.
实际上,我的开发计算机上运行的是FB的四个不同版本.在这种情况下,每个实例必须使用自己的端口号,并具有使用instsvc的-n开关指定的唯一实例名称.
Actually I have four different versions of FB running on my development computer. In this case every instance must use its own port number and have unique instance name given using -n switch of instsvc.
不要忘记在连接字符串中指定自定义端口号.对于端口3051,字符串如下所示:
Dont forget to specify custom port number in a connection string. For port 3051 the string will look like:
Server/3051:path_to_db_file
Server/3051:path_to_db_file
指向检查
这篇关于同时安装Interbase和Firebird的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!