且构网

分享程序员开发的那些事...
且构网 - 分享程序员编程开发的那些事

同时安装Interbase和Firebird

更新时间:2023-09-23 23:21:16

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

指向检查