Welcome, Guest
Please Login or Register.    Lost Password?

Another .81 to .96 upgrade, missing table (long)
(1 viewing) (1) Guest
Go to bottomPage: 1
TOPIC: Another .81 to .96 upgrade, missing table (long)
#3846
Another .81 to .96 upgrade, missing table (long) 6 Months ago Karma: 0
I finally got around to upgrading .81 and installing it on the new server. I first did my mysqldump and installed .81 on the server without any modifications, with some minor issues got it up and running.

Now for the upgrade. I decided to start with the database upgrade, so, using the info that B0zz provided last year, I changed the following in the intranet.sql (the backup file) from:
Code:


CREATE TABLE `groups` (
  `id` int(4) NOT NULL auto_increment,
  `name` char(30) collate latin1_general_ci NOT NULL default '',
  PRIMARY KEY  (`id`)
) ENGINE=MyISAM AUTO_INCREMENT=3 DEFAULT CHARSET=latin1 COLLATE=latin1_general_ci;

--
-- Dumping data for table `groups`
--

LOCK TABLES `groups` WRITE;
/*!40000 ALTER TABLE `groups` DISABLE KEYS */;
INSERT INTO `groups` VALUES (0,'Administrators'),(1,'Anonymous'),(2,'File Admin');
/*!40000 ALTER TABLE `groups` ENABLE KEYS */;
UNLOCK TABLES;


to

Code:

CREATE TABLE `groups` (
  `id` int(4) NOT NULL auto_increment,
  `name` char(30) collate latin1_general_ci NOT NULL default '',
  PRIMARY KEY  (`id`)
) ENGINE=MyISAM AUTO_INCREMENT=3 DEFAULT CHARSET=latin1 COLLATE=latin1_general_ci;

--
-- Dumping data for table `groups`
--

LOCK TABLES `groups` WRITE;
/*!40000 ALTER TABLE `groups` DISABLE KEYS */;
INSERT INTO groups VALUES (0,'Administrators');
UPDATE  groups set id = '0' where id='1';
INSERT INTO groups VALUES (1,'Anonymous');
INSERT INTO groups VALUES (2,'File Admin');
/*!40000 ALTER TABLE `groups` ENABLE KEYS */;
UNLOCK TABLES;


I dropped the intranet database in mysql, and recreated it, then moved the backup into the database:

mysql -u root -p intranet < intranet.sql
I then ran the mysql-from-0.80.sql script:

mysql -u root -p intranet < mysql-from-0.80.sql
But I get the error:

ERROR 1146 (42S02) at line 13: Table 'intranet.advanced_acl' doesn't exist
I can create a table, but don't know what to put in it.
nitmd
Junior Boarder
Posts: 24
graphgraph
User Offline Click here to see the profile of this user
The administrator has disabled public write access.
 
#3847
Re:Another .81 to .96 upgrade, missing table (long 6 Months ago Karma: 28
You should be able to find any missing tables in the mysql-table.sql file.

B0zz
Owl DEV Team
Moderator
Posts: 2225
graph
User Offline Click here to see the profile of this user
Gender: Male b0zzit Location: Ottawa, Ontario, Canada
The administrator has disabled public write access.
 
Go to topPage: 1

Ad Block