Page 1 of 1

Change host name for mysql server

Posted: Mon Jan 24, 2011 2:32 pm
by zul.shariff
When connecting to core configuration manager' I get the following error:
Error while connecting to database:
[fsrvnms1] Connection to the database server has failed by reason:
Unknown MySQL server host 'fsrvnms1' (1)

What file holds the connect string so I can change it?

Re: Change host name for mysql server

Posted: Mon Jan 24, 2011 4:25 pm
by mguthrie
The server name and credentials for the Core Config Manager are stored in the following file:

/var/www/html/nagiosql/config/settings.php

Edit the credentials to match your server, and that *should* take care of it. Let us know if that doesn't work.