Your database connection appears to be invalid
-
I am facing this error as well all things were fine until today, Please help!!
Fog version 1.3.0
OS: Ubuntu 16.04 LTS -
Both of you, Try to restart mysql.
service mysql restart
Then check status:
service mysql status
Also look through this, try the tests:
https://wiki.fogproject.org/wiki/index.php?title=Troubleshoot_MySQL -
I am facing the same issue. FOG version 1.3.0 and Ubuntu Server version 16.04. MySQL service is up and running as well.
-
-
@Tom-Elliott @Developers @Moderators @Testers
This is the fourth report today of this - does anyone know anything?
FOG Versions are different, 1.3.0, 1.3.3, and 1.3.0 RC 19. The only thing in common is Ubuntu 16.04. Did an OS update break something?
-
I restarted MySQL and now the web interface is just blank. nothing on it. going tread through the document.
-
@egregers remove PHP version stuff from fog settings. Remove packages from fog settings. Rerun installer
-
@egregers This sounds more like a PHP issue than a DB one. Look in the apache error logs.
-
@Tom-Elliott what steps or terminal commands would I need to do to remove though items?
Thanks -
cd /opt/fog vim .fogsettings #or nano
locate the line that begins with packages and ver and veradds and remove those lines, save, then re-run the fog installer.
Reference:
https://wiki.fogproject.org/wiki/index.php?title=.fogsettings
and:
https://wiki.fogproject.org/wiki/index.php?title=Vi -
@Wayne-Workman This seemed to have fixed my issue, thank you very much.
-
This also took care of my issue. Do we know what the cause was so it doesn’t happen again?
-
@FlareImp Turn off automatic updates - I suspect an automatic OS update is what broke it.
-
This post is deleted! -
@Wayne-Workman Automatic Updates are already disabled on my servers. I do not update the OS once fog has been installed. It tends to break things.
-
This fixed it. I can login to the dashboard now. Thanks!!!
-
@FlareImp said in Your database connection appears to be invalid:
@Wayne-Workman Automatic Updates are already disabled on my servers. I do not update the OS once fog has been installed. It tends to break things.
Check again. All these different versions of FOG all stopped working for 4 different people… Today. The only thing in common is Ubuntu 16.04. It’s almost surely an OS update that broke it. It really couldn’t have been anything else.
-
-
@egregers what fixed it?
-
@Trev-lchs Please open a new topic and post all your details: FOG version, exact error message (best a picture) and so on!