List:Replication« Previous MessageNext Message »
From:Daniel Antonio Fernandes Bojczuk Date:September 2 2008 5:46pm
Subject:Replication problems - Moodle
View as plain text  
Hello people,

I have a moodle ( Free, Open Source Course Management System for
Online Learning - moodle.org) server running with mysql serverand I
want to replicate the data from the mysql server. I followed the
guide: http://dev.mysql.com/doc/refman/5.0/en/replication.html.
But it's not working fine.
It starts the replication, but after the "first" replication I get this error:
Error 'Duplicate entry '48485' for key 1' on query. Default database:
'moodle'. Query: 'INSERT INTO mdl_log (time, userid, course, ip,
module, cmid, action, url, info)
        VALUES ('1220376678', '100', '39', '143.107.200.121',
'course', '0', 'view', 'view.php?id=39', '39')'

I tryed to delete all values from this table, but I've got the same error.

Can someone help-me?

Thank's  and sorry bout my English.

---
Daniel Bojczuk
http://blog.hutonweb.com - Programação, administração,
tecnologia e
outras coisas mais
Thread
Replication problems - MoodleDaniel Antonio Fernandes Bojczuk2 Sep
  • RE: Replication problems - MoodleRick James2 Sep
    • Re: Replication problems - MoodleDaniel Antonio Fernandes Bojczuk2 Sep
      • RE: Replication problems - MoodleRick James2 Sep
        • Excluding some SQL statements from replicationDimitar - Hoboken Georgievski3 Sep
        • Re: Replication problems - MoodleDaniel Antonio Fernandes Bojczuk3 Sep
  • RE: Replication problems - Moodlepickup1123 Sep
    • Re: Replication problems - MoodleDaniel Antonio Fernandes Bojczuk3 Sep
      • RE: Replication problems - Moodlepickup1123 Sep
        • Re: Replication problems - MoodleDaniel Antonio Fernandes Bojczuk3 Sep
          • RE: Replication problems - Moodlepickup1123 Sep