Rotem Liss rotemliss_net@fastmail.fm> 16/10/2006 18:58 >>
I think that if you dump the 1.5.7 database and import it to the 1.8.2
database
(drop the old database of 1.8.2 first, if exists), and then run "php maintenance/update.php" on 1.8.2. If you don't have LocalSettings.php
for 1.8.2,
run the installation script instead of "php maintenance/update.php"
after
importing the database. Dump all the important data, anyway, for any
case.
Thanks, Rotem Liss,
I've tried both dump/import the 1.5.7 database into the 1.8.2 one and directly moving contents by using Navicat for Windows. Both alternatives through the same error message. phpMyAdmin is clearer and answer with the following message:
Error SQL query: -- ---------------------------- -- Table structure for categorylinks -- ---------------------------- CREATE TABLE `categorylinks` (`cl_from` int( 8 ) unsigned NOT NULL default '0', `cl_to` varchar( 255 ) CHARACTER SET utf8 COLLATE utf8_bin NOT NULL default '', `cl_sortkey` varchar( 86 ) CHARACTER SET utf8 COLLATE utf8_bin NOT NULL default '', `cl_timestamp` timestamp NOT NULL default CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP , UNIQUE KEY `cl_from` ( `cl_from` , `cl_to` ) , KEY `cl_sortkey` ( `cl_to` , `cl_sortkey` ) , KEY `cl_timestamp` ( `cl_to` , `cl_timestamp` ) ) ENGINE = InnoDB DEFAULT CHARSET = utf8;
MySQL said: #1071 - Specified key was too long; max key length is 1000 bytes
As expected, only the table Arquive, the first one just before categorylinks, is created when I execute the script.
I'm guessing this message must be related with MySQL settings, but I am far from being able to interpret this message. Please, could you/anybody help me with this issue? Thanks!
All the best,
Ricardo
-- Ricardo Rodríguez Your XEN ICT Team
Hi Ricardo,
You are probably running mysql with a default encoding of utf-8. Try changing it to latin1.
The reason for this error is, that mysql cannot store indexes longer than 1000 bytes. When using latin1, everything is fine. But with utf-8, each character needs 3 bytes, which exceeds that limit.
hth
-- chris
mediawiki-l-bounces@Wikimedia.org schrieb am 17.10.2006 15:48:46:
MySQL said: #1071 - Specified key was too long; max key length is 1000 bytes
I'm guessing this message must be related with MySQL settings, but I am far from being able to interpret this message. Please, could you/anybody help me with this issue? Thanks!
Hello all,
I'm seeing a lot of back and forth about upgrading various versions of MediaWiki to 1.8.2, etc, and I was wondering if there is a good overall reference for the steps to take when upgrading? I figure I need to upgrade soon, and would like to have something I can look at if possible.
Also, one other question. Does anyone have a good working knowledge of MySQL 5.0? I keep trying to access the control panel, and it tells me my root password is invalid, but I thought there was NO root password, so I can't figure out how to proceed.
Thanks all! Dave
_______________________________________________ MediaWiki-l mailing list MediaWiki-l@Wikimedia.org http://mail.wikipedia.org/mailman/listinfo/mediawiki-l
David_S_Green@Dell.com wrote:
I'm seeing a lot of back and forth about upgrading various versions of MediaWiki to 1.8.2, etc, and I was wondering if there is a good overall reference for the steps to take when upgrading? I figure I need to upgrade soon, and would like to have something I can look at if possible.
See the file 'UPGRADE' in the MediaWiki distribution.
Also, one other question. Does anyone have a good working knowledge of MySQL 5.0? I keep trying to access the control panel, and it tells me my root password is invalid, but I thought there was NO root password, so I can't figure out how to proceed.
My MySQL doesn't have a control panel, so couldn't guess. :)
-- brion vibber (brion @ pobox.com)
Thanks!
Sorry, I didn't mean Control Panel, I meant at the Command Line basically, when I try to access say mysqld or anything like that, and it asks for "Password:" for the root user. I never entered a password for the root users, so I have no idea how to respond. If I try leaving it blank it kicks me out.
-----Original Message----- From: mediawiki-l-bounces@Wikimedia.org [mailto:mediawiki-l-bounces@Wikimedia.org] On Behalf Of Brion Vibber Sent: Tuesday, October 17, 2006 1:04 PM To: MediaWiki announcements and site admin list Subject: Re: [Mediawiki-l] Upgrading
David_S_Green@Dell.com wrote:
I'm seeing a lot of back and forth about upgrading various versions of MediaWiki to 1.8.2, etc, and I was wondering if there is a good
overall
reference for the steps to take when upgrading? I figure I need to upgrade soon, and would like to have something I can look at if possible.
See the file 'UPGRADE' in the MediaWiki distribution.
Also, one other question. Does anyone have a good working knowledge of MySQL 5.0? I keep trying to access the control panel, and it tells me
my
root password is invalid, but I thought there was NO root password, so
I
can't figure out how to proceed.
My MySQL doesn't have a control panel, so couldn't guess. :)
-- brion vibber (brion @ pobox.com) _______________________________________________ MediaWiki-l mailing list MediaWiki-l@Wikimedia.org http://mail.wikipedia.org/mailman/listinfo/mediawiki-l
mediawiki-l@lists.wikimedia.org