[Ubuntu-ma] Help : Problème de réplication d'une base de données

Naima Bouznag bouznag.naima at gmail.com
Jeu 14 Mar 22:05:38 UTC 2013


Bonsoir tout le monde,
j'espère que vous m'aider pour résoudre ce problème.
J'ai déja préparé la réplication d'une base de données entre 2 serveurs (ça
fait un mois), ça fonctionnait très bien, mais hier, la réplication ne
fonctionne plus,
j'ai essayé d'afficher le statut du slave et voici ce que j'ai trouvé :

mysql> show slave status \G
*************************** 1. row ***************************
             Slave_IO_State: Waiting for master to send event
                Master_Host: xxx.xxx.xxx.xxx
                Master_User: user_slave
                Master_Port: 3306
              Connect_Retry: 60
            Master_Log_File: mysql-bin.000007
        Read_Master_Log_Pos: 207396568
             Relay_Log_File: ns224XXX-relay-bin.000137
              Relay_Log_Pos: 243
      Relay_Master_Log_File: mysql-bin.000007
           Slave_IO_Running: Yes
          Slave_SQL_Running: No
            Replicate_Do_DB: nom_de_labase
        Replicate_Ignore_DB:
         Replicate_Do_Table:
     Replicate_Ignore_Table:
    Replicate_Wild_Do_Table:
Replicate_Wild_Ignore_Table:
                 Last_Errno: 1062
                 Last_Error: Error 'Duplicate entry '253' for key 1' on
query. Default database: 'nom_base'. Query: 'INSERT INTO v2_searchquery
(q_val, q_freq) VALUES ('pzrghzkdlerusl', 1)'
               Skip_Counter: 0
        Exec_Master_Log_Pos: 119742227
            Relay_Log_Space: 87659894
            Until_Condition: None
             Until_Log_File:
              Until_Log_Pos: 0
         Master_SSL_Allowed: No
         Master_SSL_CA_File:
         Master_SSL_CA_Path:
            Master_SSL_Cert:
          Master_SSL_Cipher:
             Master_SSL_Key:
      Seconds_Behind_Master: NULL

Y'a quelqu'un qui peut m'aider pour réparer la réplication???

Merci bcp


-- 
Naima Bouznag;
Engineer in Web Development
-------------- section suivante --------------
Une pièce jointe HTML a été nettoyée...
URL: <https://lists.ubuntu.com/archives/ubuntu-ma/attachments/20130314/66d712a2/attachment.html>


More information about the Ubuntu-ma mailing list