PHWinfo banniere

Titres
PORTAIL ANNUAIRE ARTICLES COMPARATEUR HÉBERGEURS DEVIS FORUMS RÉDUCTEUR D'URL
Précédent   PHWinfo > Autres forums > Forum Programmation & Conception > mysql.general > upgrade from 4.1 to 5.0 KO
S'inscrire FAQ Membres Recherche Messages du jour Marquer les forums comme lus
upgrade from 4.1 to 5.0 KO

Réponse
 
LinkBack Outils de la discussion
Vieux 23/10/2007, 18h37   #1
Ivan Longhi
Aucun Avatar
 
Messages: n/a
Hébergeur:
Par défaut upgrade from 4.1 to 5.0 KO

hi,
I'm running mysql-server on a linux debian box
with apt package system I upgraded mysql server from 4.1 to 5.0 (apt
automatically execute mysql_upgrade....)
now on my 5.0.32 server almost everything works fine, except for a
database containing 4 tables: two of them have been upgraded as I can see
from the extension of the files (.frm, .MYD and .MYI) and I can use them
without problems, but the other two tables seem not to have been upgraded
as they are still with 4.1 extensions (.frm, .ISM and .ISD).
if I try to operate with them I obtain the mysql error ERROR 1017 (HY000):
Can't find file: 'tablename' (errno: 2)
I tried to run mysql_upgrade again with --force option but It seems they
are not considered

any idea?

ciao,
ivan

--------------------
http://www.retecivica.milano.it/


  Réponse avec citation
Vieux 23/10/2007, 20h03   #2
Dan Nelson
Aucun Avatar
 
Messages: n/a
Hébergeur:
Par défaut Re: upgrade from 4.1 to 5.0 KO

In the last episode (Oct 23), Ivan Longhi said:
> I'm running mysql-server on a linux debian box
>
> with apt package system I upgraded mysql server from 4.1 to 5.0 (apt
> automatically execute mysql_upgrade....)
>
> now on my 5.0.32 server almost everything works fine, except for a
> database containing 4 tables: two of them have been upgraded as I can
> see from the extension of the files (.frm, .MYD and .MYI) and I can
> use them without problems, but the other two tables seem not to have
> been upgraded as they are still with 4.1 extensions (.frm, .ISM and
> .ISD).
>
> if I try to operate with them I obtain the mysql error ERROR 1017
> (HY000): Can't find file: 'tablename' (errno: 2) I tried to run
> mysql_upgrade again with --force option but It seems they are not
> considered


You'll need to downgrade to 4.1 and then convert those ISAM tables to
MYISAM, or copy those files to a system that is running 4.1 and do the
conversion there. ISAM format was deprecated in 4.0 and support was
removed in 5.0.

--
Dan Nelson
dnelson@allantgroup.com
  Réponse avec citation
Réponse


Outils de la discussion

Règles de messages
Vous ne pouvez pas créer de nouvelles discussions
Vous ne pouvez pas envoyer des réponses
Vous ne pouvez pas envoyer des pièces jointes
Vous ne pouvez pas modifier vos messages

Les balises BB sont activées : oui
Les smileys sont activés : oui
La balise [IMG] est activée : oui
Le code HTML peut être employé : non
Trackbacks are oui
Pingbacks are oui
Refbacks are oui


Fuseau horaire GMT +1. Il est actuellement 12h13.


Édité par : vBulletin® version 3.7.3
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.2.0 RC5 Tous droits réservés.
Version française #16 par l'association vBulletin francophone
PHWinfo est un site Éducation Sans Frontières ©2000-2008
Ad Management by RedTyger
©Tous droits réservés par les parties respectives
Page generated in 0,09123 seconds with 10 queries