+ -
当前位置:首页 → 问答吧 → sybase修改服务名?

sybase修改服务名?

时间:2010-10-13

来源:互联网

已经安装好的sybase数据库,能否修改服务名?如果能修改的话,需要怎么操作?

作者: titi007   发布时间: 2010-10-13

可以修改。


unix上修改interfaces,RUN_*文件就可以了。

windows上的还需要修改注册表或者修改管理工具中的服务内容。

作者: andkylee   发布时间: 2010-10-13

suse 系统  
只需要将interfaces里面的服务名和启动程序的RUN_后面的服务名就可以了吗?

作者: titi007   发布时间: 2010-10-13

实验证明不能只进行这么简单的修改,除修改interfaces文件的内容和RUN_*之外,还需要修改*.cfg的名字、*.log的名字、RUN_*文件的内容。
不过还是要谢谢andkylee ,给我指出了方向

作者: titi007   发布时间: 2010-10-13

titi007 上手很快呀!

作者: wfcjz   发布时间: 2010-10-13

  不是我上手快  我因为我按照andkylee所说的进行修改之后,启动服务的时候会报错,我也是按照报错信息一点一点改的。现在数据库是可以启动了。
不过刚才又发现个问题:
Msg 5861, Level 16, State 2:
Server 'oldservername', Procedure 'sp_configure', Line 770:
The current 'max memory' value '32768', is not sufficient to change the
parameter 'number of user connections' to '150'. 'max memory' should be greater
than 'total logical memory' '42596' required for the configuration.
(return status = 1)

黑体标注的server名字,仍然是以前的,不知道这个需要修改什么文件

作者: titi007   发布时间: 2010-10-13