I dropped all the tables, and started over.
The first run of Moodle then produced the following:
Home -> Upgrading database |
|
=---- (my
sql): CREATE TABLE `config` ( `id` int(10) unsigned NOT NULL auto_increment, `name` varchar(255) NOT NULL default '', `value` varchar(255) NOT NULL default '', PRIMARY KEY (`id`), UNIQUE KEY `name` (`name`) ) COMMENT='Moodle configuration variables'; -----
Success
Created a new table 'config' to hold configuration data
=---- (mysql): DELETE FROM `modules` WHERE `name` = 'chat' ----- 1146: Table 'ptbijaa.modules' doesn't exist
Error
Another string of error messages followed, telling me that other tables didn't exist.
Then, on the second run of Moodle, I got the following:
Setting up module tables |
Login |
Home -> Setting up module tables |
|
=---- (mysql): CREATE TABLE `assignment` ( `id` int(10) unsigned NOT NULL auto_increment, `course` int(10) unsigned NOT NULL default '0', `name` varchar(255) NOT NULL default '', `description` text NOT NULL, `format` tinyint(2) unsigned NOT NULL default '0', `resubmit` tinyint(2) unsigned NOT NULL default '0', `type` int(10) unsigned NOT NULL default '1', `maxbytes` int(10) unsigned NOT NULL default '100000', `timedue` int(10) unsigned NOT NULL default '0', `grade` int(10) NOT NULL default '0', `timemodified` int(10) unsigned NOT NULL default '0', PRIMARY KEY (`id`)) COMMENT='Defines assignments' -----
Success
=---- (mysql): CREATE TABLE `assignment_submissions` ( `id` int(10) unsigned NOT NULL auto_increment, `assignment` int(10) unsigned NOT NULL default '0', `user` int(10) unsigned NOT NULL default '0', `timecreated` int(10) unsigned NOT NULL default '0', `timemodified` int(10) unsigned NOT NULL default '0', `numfiles` int(10) unsigned NOT NULL default '0', `grade` int(11) NOT NULL default '0', `comment` text NOT NULL, `teacher` int(10) unsigned NOT NULL default '0', `timemarked` int(10) unsigned NOT NULL default '0', `mailed` tinyint(1) unsigned NOT NULL default '0', PRIMARY KEY (`id`)) COMMENT='Info about submitted assignments' -----
Success
=---- (mysql): INSERT INTO log_display VALUES ('assignment', 'view', 'assignment', 'name') ----- 1146: Table 'ptbijaa.log_display' doesn't exist
Error
=---- (mysql): INSERT INTO log_display VALUES ('assignment', 'add', 'assignment', 'name') ----- 1146: Table 'ptbijaa.log_display' doesn't exist
Error
I'm perplexed!