Database Schema Installer / Updater
- 
Reinstalled FOG yesterday was working fine. I shut the machine down last night. Put it into our rack and booted it backup. Tried to get into it this morning and I’m getting
Database Schema Installer / Updater
If I click Install / Upgrade now it just gives tons of SQL errors. The list goes on and on here is one error for example.
Update ID: 1 - 1
Database Error:
Database SQL:
CREATE TABLE
fog.groupMembers(
gmIDint(11) NOT NULL auto_increment,
gmHostIDint(11) NOT NULL,
gmGroupIDint(11) NOT NULL,
PRIMARY KEY (gmID),
KEYnew_index(gmHostID),
KEYnew_index1(gmGroupID)
) ENGINE=MyISAM AUTO_INCREMENT=1 DEFAULT CHARSET=latin1 ROW_FORMAT=DYNAMICIt ends at Update ID: 113-0
 - 
@Danny-R Which FOG version ?
 - 
Sounds like MySQL (or MariaDB) didn’t start up…
What OS version?
 - 
 - 
@Wayne-Workman Ubuntu 14.04
 - 
 - 
This issue is well known about particularly on Ubuntu. It isn’t so much the service failed to start, but rather the service crashed later on down the road.
 - 
@Danny-R So, in this situation, you should just be able to restart MySQL…
service mysql restart - 
@ch3i That command did not work however a SQL restart resolved the issue.
Thanks,
 - 
That did it thanks!
 - 
To prevent this from happening down the road, you could try following these instructions:
https://github.com/fogproject/fogproject/issues/1