Changing the Log Database
The Log Database may need to be changed when one of the following situations occurs:
- The database IP address changes.
- The database username and password change.
- The user wants to change authentication settings.
- The user wants to use a named instance.
This type of change must be made in two locations: on the page
and in the Email Log Server Configuration wizard.Use the following steps to change the Log Database configuration:
Steps
- Enter the IP address for the new Log Database on the page Log database field. , in the
- Open the Email Log Server Configuration wizard for the Windows machine on which Log Server is installed ( ).
- In the Database tab, click Connection to open the Select Data Source dialog box.
- Select the Machine Data Source tab and click New to open the Create New Data Source dialog box.
- Select System Data Source (Applies to this machine only), and click Next.
- Select SQL Server and click Next.
- Click Finish.
- In the Create a New Data Source to SQL Server dialog box, enter the server name, description, and IP address of the new SQL Server database in the Name, Description, and Server entry fields and click Next.
- Select With SQL Server authentication using a login ID and password entered by the user.
- Enter the username (sa) and a password and click Next.
- In the p ull-down menu Change the default database to, select the esglogdb76 database and click Next.
- Click Finish.
- In the ODBC Microsoft SQL Server Setup dialog box, click Test Data Source to test the server connection.
- Click OK.
- Enter the new username and password in the SQL Server Login dialog box.
- In the Email Log Server Configuration wizard Database tab, notice that the ODBC Data Source Name (DSN) field contains the new server name, and click Apply to confirm the new configuration.
- Click OK in the warning message. The Log Server must be stopped and restarted for the new settings to take effect.
- In the Email Log Server Configuration wizard Connection tab, click Stop to stop the Log Server service.
- In the same tab, click Start to restart the Log Server service. The new database settings are in effect.