Fog Server - Database Access Problem
-
Server
- FOG Version: 13
- OS: Ubuntu 16.04
Client
- Service Version:
- OS:
Description
Updated to the trunk version of Fog a year ago or so (SVN Revision 5948) and all has been well but this morning a co-worker noticed an update message when he accessed the Fog web gui but was unsure about it and closed out the message box. Now, we are getting the below message:
Database Schema Installer / Updater
Your database connection appears to be invalid. FOG is unable to communicate with the database. There are many reasons why this could be the case. Please check your credentials in /var/www/fog/lib/fog/config.class.php. Also confirm that the database is indeed running. If credentials are correct, and the Database service is running, check to ensure your filesystem has enough space.Any ideas?
The database password hasn’t changed. I restarted the MYSQL database. Drive space is fine.
-
Nevermind, I fixed it.
-
@Motech09 said in Fog Server - Database Access Problem:
Nevermind, I fixed it.
What was wrong and how you fixed it really helps others in their troubleshooting/resolution.
-
Late response, I know, but you’re right. I think the Ubuntu updated itself and reverted a change I had made with the link below. I had to go back in and blank out the SQL password again:
Is this Ubuntu 16.04? See here: https://wiki.fogproject.org/wiki/index.php?title=Ubuntu_16.04#MySQL_password_behavior