Is there any option to change the sybase sql default port ?
Here I want to change the port number because we can't start two SAP instances at the same time on the same server?
Database Administrators Stack Exchange is a question and answer site for database professionals who wish to improve their database skills and learn from others in the community. It only takes a minute to sign up.
Sign up to join this communityIs there any option to change the sybase sql default port ?
Here I want to change the port number because we can't start two SAP instances at the same time on the same server?
Sybase ASE retrieves port numbers for the listeners from the interfaces
file. On *nix systems, this is typically in the Sybase Home directory ($SYBASE/interfaces)
On Windows systems it's called interfaces.ini
and can be found in %SYBASE%, which is likely to be c:\sybase (I think..been a while since I've run on Windows).
I believe you can launch the GUI interfaces editor through Sybase Central, if you are using that to manage your ASE databases. dsedit
and dscp
are the two utilities that can be used to edit the interfaces file.
You can also manually edit the interfaces file using a text editor such as vi
but be sure to pay attention to the format of the entries and permissions, so as not to accidentally muck it up.
Adding to Michael's answer:
sql.ini
located in %SYBASE%\ini
folder.master
entry in the interfaces file