[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:19:17 UTC 2013
Salut abdelfettah,
j'espère que tu vas bien, mais normalement ce prb doit apparaitre sur le
master, le slave ne doit que répliquer, non?
Le 14 mars 2013 23:17, SGHIOUAR Abdelfettah
<abdelfettah.sghiouar at gmail.com>a écrit :
> Salut naima,
>
> Selon l'erreur je presume que tu a un problem d'integrite des donnees dans
> la base master.
>
> a+
>
>
> On Thu, Mar 14, 2013 at 10:14 PM, Tamtamaouy Mehdi <m.tamtamaouy at gmail.com
> > wrote:
>
>> Bonsoir Mme Naima,
>> voici une piste que vous pouvez essayer pour resoudre votre probleme. C
>> est un how-to en englais qui propose une solution pour resoudre le probleme
>> de l'erreur 1062.
>>
>> http://freelinuxtutorials.com/quick-tips-and-tricks/repairing-mysql-replication/
>> J'espere que ca vous aidera.
>> Bonne chance.
>> Le 14 mars 2013 22:06, "Naima Bouznag" <bouznag.naima at gmail.com> a
>> écrit :
>>
>>> 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
>>>
>>> --
>>> Ubuntu-ma mailing list
>>> Ubuntu-ma at lists.ubuntu.com
>>> Modify settings or unsubscribe at:
>>> https://lists.ubuntu.com/mailman/listinfo/ubuntu-ma
>>>
>>>
>> --
>> Ubuntu-ma mailing list
>> Ubuntu-ma at lists.ubuntu.com
>> Modify settings or unsubscribe at:
>> https://lists.ubuntu.com/mailman/listinfo/ubuntu-ma
>>
>>
>
> --
> Ubuntu-ma mailing list
> Ubuntu-ma at lists.ubuntu.com
> Modify settings or unsubscribe at:
> https://lists.ubuntu.com/mailman/listinfo/ubuntu-ma
>
>
--
Naima Bouznag;
Freelancer : 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/59621e55/attachment.html>
More information about the Ubuntu-ma
mailing list