I am running version 4.1.13a-log on a Mac XServe.
How can I receive a 'duplicate entry' error for an UPDATE? An update isn't
creating an entry, so why this error message?
__________________________________________________ __
060427 11:57:23 [Note] Slave SQL thread initialized, starting replication in
log 'kiosk1-bin.000006' at position 7233, relay log
'./royaldemo-2-relay-bin.000007' position: 7321
060427 11:57:23 [ERROR] Slave: Query caused different errors on master and
slave. Error on master: 'Duplicate entry '%-.64s' for key %d' (1062), Error
on slave: 'no error' (0). Default database: 'rccl'. Query: 'UPDATE pages SET
`created_at` = '2006-04-26 14:43:04', `template_id` = 4, `ordernum` = 10,
`location_id` = 4, `user_id` = 1, `serverid` = 10, `name` = 'Trolly 4' WHERE
id = 92', Error_code: 0
060427 11:57:23 [ERROR] Error running query, slave SQL thread aborted. Fix
the problem, and restart the slave SQL thread with "SLAVE START". We stopped
at lo
g 'kiosk1-bin.000006' position 45142
__________________________________________________ __
Any help is greatly appreciated. 1 6410
>How can I receive a 'duplicate entry' error for an UPDATE? An update isn't creating an entry, so why this error message?
If you modify a column that has a unique key so that the new value
is not unique, you can get that error.
060427 11:57:23 [Note] Slave SQL thread initialized, starting replication in log 'kiosk1-bin.000006' at position 7233, relay log './royaldemo-2-relay-bin.000007' position: 7321 060427 11:57:23 [ERROR] Slave: Query caused different errors on master and slave. Error on master: 'Duplicate entry '%-.64s' for key %d' (1062), Error on slave: 'no error' (0). Default database: 'rccl'. Query: 'UPDATE pages SET `created_at` = '2006-04-26 14:43:04', `template_id` = 4, `ordernum` = 10, `location_id` = 4, `user_id` = 1, `serverid` = 10, `name` = 'Trolly 4' WHERE id = 92', Error_code: 0 060427 11:57:23 [ERROR] Error running query, slave SQL thread aborted. Fix the problem, and restart the slave SQL thread with "SLAVE START". We stopped at lo g 'kiosk1-bin.000006' position 45142
It looks here like your replication is out of sync. Your master had
a duplicate record, the slave didn't.
Gordon L. Burditt This thread has been closed and replies have been disabled. Please start a new discussion. Similar topics
by: Nick Gaugler |
last post by:
I know the replication method is different in MySQL 4.0 then MySQL
3.23.x, but I have a bug that causes problems. The following query will
cause MySQL's logic to not properly read any of the...
|
by: I.P. |
last post by:
No one has replied to my post.
----- Original Message -----
From: "I.P." <jancio_wodnik@wp.pl>
To: <mysql@lists.mysql.com>
Sent: Monday, August 18, 2003 1:01 PM
Subject: mysql 4.0.14 +...
|
by: Sindri Mar |
last post by:
Hello everybody
I work at a company in Iceland and we have developed a 3-tier solution
written in ASP - Visual Basic - MSSQL2000, 4 companies are using the
solution almost constantly and...
|
by: Rohit |
last post by:
Hi,
I have 2 instances of databases in 2 different cities.Data entry /
updations are going on at both the sides.At any point of time data in
both the databases should be same.Currently every...
|
by: Jan Wieck |
last post by:
Dear community,
for some reason the post I sent yesterday night still did not show up on
the mailing lists. I have set up some links on the developers side under...
|
by: randi_clausen |
last post by:
In setting up a replication scenario to update tables between two
Windows 2000 servers at 5.00.2195, one machine with SP4 and the other
SP3, and both running WSE 8.1.5, I am getting the following...
|
by: Andi Plotsky |
last post by:
I need to synchronize 3 databases (1 Master and 2 replicas). I thought I'd
give the Replica feature in Access2000 a whirl. I'm not sure I'm THAT
impressed.....but maybe I'm just doing something...
|
by: sri2097 |
last post by:
Hi all, I'm storing number of dictionary values into a file using the
'cPickle' module and then am retrieving it. The following is the code
for it -
# Code for storing the values in the file...
|
by: John |
last post by:
Hi
We have an MS Access application which runs on the server but some laptop
users need the app to work offline. Our solution has been to use Access
replication which automatically syncs data...
|
by: taylorcarr |
last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
|
by: Charles Arthur |
last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
|
by: ryjfgjl |
last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
|
by: emmanuelkatto |
last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud.
Please let me know.
Thanks!
Emmanuel
|
by: BarryA |
last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
|
by: nemocccc |
last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
|
by: marktang |
last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
|
by: Oralloy |
last post by:
Hello folks,
I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>".
The problem is that using the GNU compilers,...
|
by: jinu1996 |
last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
| |