@tom-elliott Thanks very much!! That fixed it!
I found the path to the password to that user from another post I’ll copy here in case someone else runs into this problem.
Find the database information in /var/www/html/fog/lib/fog/config.class.php - with FOG 1.5.9 the database user is called fogmaster instead of root that was used in earlier versions.