Modify PHP Files
Modify the databaseconfig.php file in /opt/servercheck to have the proper username and password that we created earlier. We will use the gamechecker user in this case that was created during the mysql configuration above. In the top of both files is the section to modify.
/opt/servercheck/databaseconfig.php
$dbhost = “localhost”;
$dbuser = “gamechecker”;
$dbpass = “YourPasswordHere”;
$dbname_admin = “admin”;