IdentifiantMot de passe
Loading...
Mot de passe oublié ?Je m'inscris ! (gratuit)
Navigation

Inscrivez-vous gratuitement
pour pouvoir participer, suivre les réponses en temps réel, voter pour les messages, poser vos propres questions et recevoir la newsletter

EDI, CMS, Outils, Scripts et API PHP Discussion :

#1034 - Index corrompu dans la table: [EasyPHP]


Sujet :

EDI, CMS, Outils, Scripts et API PHP

  1. #1
    Membre habitué
    Profil pro
    Inscrit en
    Juin 2005
    Messages
    329
    Détails du profil
    Informations personnelles :
    Localisation : France

    Informations forums :
    Inscription : Juin 2005
    Messages : 329
    Points : 151
    Points
    151
    Par défaut #1034 - Index corrompu dans la table:
    Bonjour,

    Depuis que j'ai installé EASYPHP 3.0 certaines tables de mes bases de données géneres des erreur :
    #1034 - Index corrompu dans la table: 'tbl_cloture';
    essayez de le réparer

    Par contre si je ré-install EASYPHP2.0b tout refontionne normalement.

    Aprés vérification il semblerais que la version de mysql soit passé de la 5.0.27 à la 5.1.30 et que depuis la ça ne fonctionne plus....

    Est qu'il y a une solution ? ou dois je rester en 5.0.27 ???

    Merci d'avance.

  2. #2
    Modérateur
    Avatar de sabotage
    Homme Profil pro
    Inscrit en
    Juillet 2005
    Messages
    29 208
    Détails du profil
    Informations personnelles :
    Sexe : Homme

    Informations forums :
    Inscription : Juillet 2005
    Messages : 29 208
    Points : 44 155
    Points
    44 155
    Par défaut
    De mémoire en passant à 5.1, les tables il est necessaire de mettre à jour les tables.
    Voir la commande mysql_upgrade et la doc :
    http://dev.mysql.com/doc/refman/5.1/...us-series.html

  3. #3
    Membre habitué
    Profil pro
    Inscrit en
    Juin 2005
    Messages
    329
    Détails du profil
    Informations personnelles :
    Localisation : France

    Informations forums :
    Inscription : Juin 2005
    Messages : 329
    Points : 151
    Points
    151
    Par défaut
    bon j'ai pas attendu lundi...

    Alors !
    J'ai tenté ceci : mysqlcheck --all-databases --check-upgrade --auto-repair
    mais toujours le pb de : index corrompu
    ça ne répare pas.
    Pour info ce sont des tables MyISAM.

    bon voila à suivre

  4. #4
    Modérateur
    Avatar de sabotage
    Homme Profil pro
    Inscrit en
    Juillet 2005
    Messages
    29 208
    Détails du profil
    Informations personnelles :
    Sexe : Homme

    Informations forums :
    Inscription : Juillet 2005
    Messages : 29 208
    Points : 44 155
    Points
    44 155
    Par défaut
    et mysql_upgrade ?

  5. #5
    Membre habitué
    Profil pro
    Inscrit en
    Juin 2005
    Messages
    329
    Détails du profil
    Informations personnelles :
    Localisation : France

    Informations forums :
    Inscription : Juin 2005
    Messages : 329
    Points : 151
    Points
    151
    Par défaut
    Je l'ai fait mais toujours le même message qui me dit : #1034 - Incorrect key file for table....

  6. #6
    Modérateur
    Avatar de sabotage
    Homme Profil pro
    Inscrit en
    Juillet 2005
    Messages
    29 208
    Détails du profil
    Informations personnelles :
    Sexe : Homme

    Informations forums :
    Inscription : Juillet 2005
    Messages : 29 208
    Points : 44 155
    Points
    44 155
    Par défaut
    qu'est ce qu'il te marque quand tu fais le mysql_upgrade ?
    est-ce que tu as essayé un repair ?

  7. #7
    Membre habitué
    Profil pro
    Inscrit en
    Juin 2005
    Messages
    329
    Détails du profil
    Informations personnelles :
    Localisation : France

    Informations forums :
    Inscription : Juin 2005
    Messages : 329
    Points : 151
    Points
    151
    Par défaut fusion
    Il fait tout un tas de vérification et marque ok à chaque fois. Sauf lorsqu'il tombe sur les index corrompus il met error...

    J'obtiens ceci aprés un mysql_upgrade :

    Code : Sélectionner tout - Visualiser dans une fenêtre à part
    1
    2
    3
    4
    5
    6
    7
    8
    9
    10
    11
    12
    13
    14
    15
    16
    17
    18
    19
    20
    21
    22
    23
    24
    25
    26
    27
    28
    29
    30
    31
    32
    33
    34
    35
    36
    37
    38
    39
    40
    41
    42
    43
    44
    45
    46
    47
    48
    49
    50
    51
    52
    53
    54
    55
    56
    57
    58
    59
    60
    61
    62
    63
    64
    65
    66
    67
    68
    69
    70
    71
    72
    73
    74
    75
    76
    77
    78
    79
    80
    81
    82
    83
    84
    85
    86
    87
    88
    89
    90
    91
    92
    93
    94
    95
    96
    97
    98
    99
    100
    101
    102
    103
    104
     
    C:\XAMPP\MYSQL\BIN>
    Looking for 'mysql.exe' as: C:\xampp\mysql\bin\mysql.exe
    Looking for 'mysqlcheck.exe' as: C:\xampp\mysql\bin\mysqlcheck.exe
    Running 'mysqlcheck'...
    Running 'mysqlcheck'...
    bd_stages.tbl_beneficiaire                         OK
    bd_stages.tbl_bilan                                OK
    bd_stages.tbl_cloture
    Error    : Incorrect key file for table 'tbl_cloture'; try to repair it
    error    : Corrupt
    bd_stages.tbl_convention_facturation
    Error    : Incorrect key file for table 'tbl_convention_facturation'; try to repair it
    error    : Corrupt
    bd_stages.tbl_correspondant
    Error    : Incorrect key file for table 'tbl_correspondant'; try to repair it
    error    : Corrupt
    bd_stages.tbl_prescription
    Error    : Incorrect key file for table 'tbl_prescription'; try to repair it
    error    : Corrupt
    bd_stages.tbl_stage_pass                           OK
    bd_stages.tbl_stages
    Error    : Incorrect key file for table 'tbl_stages'; try to repair it
    error    : Corrupt
    bd_stages.tbl_stages2
    Error    : Incorrect key file for table 'tbl_stages2'; try to repair it
    error    : Corrupt
    bd_stages.tbl_stages3
    Error    : Incorrect key file for table 'tbl_stages3'; try to repair it
    error    : Corrupt
    bd_stages.tbl_suivi
    Error    : Incorrect key file for table 'tbl_suivi'; try to repair it
    error    : Corrupt
    cdcol.cds                                          OK
    mysql.columns_priv                                 OK
    mysql.db                                           OK
    mysql.event                                        OK
    mysql.func                                         OK
    mysql.general_log
    Error    : You can't use locks with log tables.
    status   : OK
    mysql.help_category                                OK
    mysql.help_keyword                                 OK
    mysql.help_relation                                OK
    mysql.help_topic                                   OK
    mysql.host                                         OK
    mysql.ndb_binlog_index                             OK
    mysql.plugin                                       OK
    mysql.proc                                         OK
    mysql.procs_priv                                   OK
    mysql.servers                                      OK
    mysql.slow_log
    Error    : You can't use locks with log tables.
    status   : OK
    mysql.tables_priv                                  OK
    mysql.time_zone
    error    : Table upgrade required. Please do "REPAIR TABLE `time_zone`" to fix it!
    mysql.time_zone_leap_second                        OK
    mysql.time_zone_name
    error    : Table upgrade required. Please do "REPAIR TABLE `time_zone_name`" to fix it!
    mysql.time_zone_transition                         OK
    mysql.time_zone_transition_type                    OK
    mysql.user                                         OK
    phpmyadmin.pma_bookmark                            OK
    phpmyadmin.pma_column_info                         OK
    phpmyadmin.pma_designer_coords                     OK
    phpmyadmin.pma_history                             OK
    phpmyadmin.pma_pdf_pages                           OK
    phpmyadmin.pma_relation                            OK
    phpmyadmin.pma_table_coords                        OK
    phpmyadmin.pma_table_info                          OK
    webauth.user_pwd                                   OK
     
    Repairing tables
    bd_stages.tbl_cloture
    Error    : Incorrect key file for table 'tbl_cloture'; try to repair it
    error    : Corrupt
    bd_stages.tbl_convention_facturation
    Error    : Incorrect key file for table 'tbl_convention_facturation'; try to repair it
    error    : Corrupt
    bd_stages.tbl_correspondant
    Error    : Incorrect key file for table 'tbl_correspondant'; try to repair it
    error    : Corrupt
    bd_stages.tbl_prescription
    Error    : Incorrect key file for table 'tbl_prescription'; try to repair it
    error    : Corrupt
    bd_stages.tbl_stages
    Error    : Incorrect key file for table 'tbl_stages'; try to repair it
    error    : Corrupt
    bd_stages.tbl_stages2
    Error    : Incorrect key file for table 'tbl_stages2'; try to repair it
    error    : Corrupt
    bd_stages.tbl_stages3
    Error    : Incorrect key file for table 'tbl_stages3'; try to repair it
    error    : Corrupt
    bd_stages.tbl_suivi
    Error    : Incorrect key file for table 'tbl_suivi'; try to repair it
    error    : Corrupt
    mysql.time_zone                                    OK
    mysql.time_zone_name                               OK
    Running 'mysql_fix_privilege_tables'...
    OK
     
    C:\XAMPP\MYSQL\BIN>

  8. #8
    Modérateur
    Avatar de sabotage
    Homme Profil pro
    Inscrit en
    Juillet 2005
    Messages
    29 208
    Détails du profil
    Informations personnelles :
    Sexe : Homme

    Informations forums :
    Inscription : Juillet 2005
    Messages : 29 208
    Points : 44 155
    Points
    44 155
    Par défaut
    Et que donne repair ?

  9. #9
    Membre habitué
    Profil pro
    Inscrit en
    Juin 2005
    Messages
    329
    Détails du profil
    Informations personnelles :
    Localisation : France

    Informations forums :
    Inscription : Juin 2005
    Messages : 329
    Points : 151
    Points
    151
    Par défaut
    repair ne donne rien, juste error...

    Etonnant que personne n'aie eu se genre de probleme lors du passage de sql 5.0.1 a 5.1.33.

  10. #10
    Modérateur
    Avatar de sabotage
    Homme Profil pro
    Inscrit en
    Juillet 2005
    Messages
    29 208
    Détails du profil
    Informations personnelles :
    Sexe : Homme

    Informations forums :
    Inscription : Juillet 2005
    Messages : 29 208
    Points : 44 155
    Points
    44 155
    Par défaut
    Pour moi le passage 5.0 -> 5.1 c'est fait avec mysql_upgrade.

    tu devrais essayer de faire un repair en 5.0

  11. #11
    Membre habitué
    Profil pro
    Inscrit en
    Juin 2005
    Messages
    329
    Détails du profil
    Informations personnelles :
    Localisation : France

    Informations forums :
    Inscription : Juin 2005
    Messages : 329
    Points : 151
    Points
    151
    Par défaut
    Bon alors en exportant mes tables en fichiers texte, ça fonctionne par contre il ma viré tous les accentuations... plus de é, ê, î etc... J'ai des ? à la place.

    Finalement j'ai installé ZEND CE et tout est rentré dans l'ordre.

    Je te remercie pour avoir essayé de me "dépatouiller"

    Je signale le post comme résolu.

    A+

+ Répondre à la discussion
Cette discussion est résolue.

Discussions similaires

  1. Regénération d'index corrompu d'une table Dbase(*.cdx)
    Par helmis dans le forum Bases de données
    Réponses: 4
    Dernier message: 16/03/2008, 19h40
  2. Insertion dans plusieurs table avec un index commun
    Par irongomme dans le forum Requêtes
    Réponses: 3
    Dernier message: 12/10/2007, 11h41
  3. Index dans la table des matières
    Par [Hugo] dans le forum Bibliographies - Index - Glossaires
    Réponses: 4
    Dernier message: 07/08/2007, 14h42
  4. creation d'index dans une table déja remplie
    Par khalux dans le forum Requêtes
    Réponses: 4
    Dernier message: 22/01/2007, 16h24
  5. mise a zéro de la clé d'index dans une table
    Par Atchoum_002 dans le forum Access
    Réponses: 2
    Dernier message: 19/09/2005, 15h34

Partager

Partager
  • Envoyer la discussion sur Viadeo
  • Envoyer la discussion sur Twitter
  • Envoyer la discussion sur Google
  • Envoyer la discussion sur Facebook
  • Envoyer la discussion sur Digg
  • Envoyer la discussion sur Delicious
  • Envoyer la discussion sur MySpace
  • Envoyer la discussion sur Yahoo