Connecting to the database server using its IP address
You can configure an existing install of Sage CRM to connect to the SQL Server using its IP address rather than its name in the connection strings.
Step 1: Change the administration settings
- Log on to Sage CRM as a system administrator.
- Go to <My Profile> | Administration | System | Database.
- Click Change.
- In the Default database server (SQL Server Only) option, replace the database server name with its IP address.
- Click Save.
Step 2: Update the database properties files
- Open the Sage CRM installation folder.
By default, this is %ProgramFiles(x86)%\Sage\CRM\CRM. - Locate the following files:
- tomcat\webapps\crmj\WEB-INF\db.properties
- tomcat\webapps\crmExchangeSyncEngine\WEB-INF\db.properties
- Open and edit each db.properties file as follows:
- Under the #SQL Server settings element, locate the db.url property.
- In the property value, replace the database server name with its IP address.
For example:
db.url=jdbc:log4jdbc:sqlserver://10.2.88.5:1433;databaseName=CRM;language=English;
where 10.2.88.5 is the database server IP address. - Save your changes.