Difference between revisions of "Template:Updating config files for non-empty MySQL root password"

From FOG Project
Jump to: navigation, search
m (removed extra "password' in the instructions)
 
(No difference)

Latest revision as of 04:25, 30 July 2012

If you choose to set a password for the MySQL root user, there are two files that must be updated on the server. This only applies to the "N" (Normal) installation mode. FOG servers installed in "S" (storage) mode will use the "fogstorage" username and appropriate password to connect back to the MySQL database on the main fog server.

edit /var/www/fog/commons/config.php and enter your MySQL root password in this line:
define( "MYSQL_PASSWORD", "password" );
edit /opt/fog/service/etc/config.php and enter your MySQL root password in this line:
define( "MYSQL_PASSWORD", "password" );