1.1.2 Update/Install Failed!
-
i upgraded to the latest version but accidentally pressed enter when asked to access the management portal to update the database schema. so when i try to do this after, i got that error which i did not fully cipy because it’S way too long.
so how to fix that ?
[SIZE=6][B][FONT=Ubuntu][CENTER][SIZE=32px][COLOR=#666666]Database Schema Installer / Updater[/COLOR][/SIZE][/CENTER][/FONT][/B][/SIZE]
[FONT=Ubuntu][COLOR=#555555]Update/Install Failed!
[SIZE=5][B][CENTER][SIZE=18px][COLOR=#4c68a0]The following errors occured[/COLOR][/SIZE][/CENTER][/B][/SIZE][B]Update ID:[/B] 1 - 0
[B]Database Error:[/B][B]Database SQL:[/B]
CREATE DATABASE fog[B]Update ID:[/B] 1 - 1
[B]Database Error:[/B][B]Database SQL:[/B]
CREATE TABLEfog.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=DYNAMIC[B]Update ID:[/B] 1 - 2
[B]Database Error:[/B][B]Database SQL:[/B]
CREATE TABLEfog.groups(
groupIDint(11) NOT NULL auto_increment,
groupNamevarchar(50) NOT NULL,
groupDesclongtext NOT NULL,
groupDateTimedatetime NOT NULL,
groupCreateByvarchar(50) NOT NULL,
groupBuildingint(11) NOT NULL,
PRIMARY KEY (groupID),
KEYnew_index(groupName)
) ENGINE=MyISAM AUTO_INCREMENT=1 DEFAULT CHARSET=latin1[B]Update ID:[/B] 1 - 3
[B]Database Error:[/B][B]Database SQL:[/B]
CREATE TABLEfog.history(
hIDint(11) NOT NULL auto_increment,
hTextlongtext NOT NULL,
hUservarchar(200) NOT NULL,
hTimedatetime NOT NULL,
hIPvarchar(50) NOT NULL,
PRIMARY KEY (hID)
) ENGINE=MyISAM AUTO_INCREMENT=1 DEFAULT CHARSET=latin1[B]Update ID:[/B] 1 - 4
[B]Database Error:[/B][B]Database SQL:[/B]
CREATE TABLEfog.hosts(
hostIDint(11) NOT NULL auto_increment,
hostNamevarchar(16) NOT NULL,
hostDesclongtext NOT NULL,
hostIPvarchar(25) NOT NULL,
hostImageint(11) NOT NULL,
hostBuildingint(11) NOT NULL,
hostCreateDatedatetime NOT NULL,
hostCreateByvarchar(50) NOT NULL,
hostMACvarchar(20) NOT NULL,
hostOSint(10) unsigned NOT NULL,
PRIMARY KEY (hostID),
KEYnew_index(hostName),
KEYnew_index1(hostIP),
KEYnew_index2(hostMAC),
KEYnew_index3(hostOS)
) ENGINE=MyISAM AUTO_INCREMENT=1 DEFAULT CHARSET=latin1[B]Update ID:[/B] 1 - 5
[B]Database Error:[/B][B]Database SQL:[/B]
CREATE TABLEfog.images(
imageIDint(11) NOT NULL auto_increment,
imageNamevarchar(40) NOT NULL,
imageDesclongtext NOT NULL,
imagePathlongtext NOT NULL,
imageDateTimedatetime NOT NULL,
imageCreateByvarchar(50) NOT NULL,
imageBuildingint(11) NOT NULL,
imageSizevarchar(200) NOT NULL,
PRIMARY KEY (imageID),
KEYnew_index(imageName),
KEYnew_index1(imageBuilding)
) ENGINE=MyISAM AUTO_INCREMENT=1 DEFAULT CHARSET=latin1[/COLOR][/FONT]
-
Refer to the following link:
[url]http://fogproject.org/forum/threads/fog-upgrade-1-1-1-1-1-2-database-error.10956/#post-31804[/url]
-
Worked! You guys rocks! thanks !!