Template:Updating config files for non-empty MySQL root password

From FOG Project
Revision as of 04:25, 30 July 2012 by Chad-bisd (talk | contribs) (removed extra "password' in the instructions)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

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" );