Re: Alternative command of SET GLOBAL SQL_SLAVE_SKIP_COUNTER

2007-06-08 Thread Juan Eduardo Moreno
On 6/8/07, Ashok Chauhan < [EMAIL PROTECTED]> wrote: Hi List, I want to know the alternative command of "SET GLOBAL SQL_SLAVE_SKIP_COUNTER" OR How i skip the counter of Relay Log Position. Thanks Ashok -- MySQL General Mailing List For list archives: http://lists.mysql.com/

Alternative command of SET GLOBAL SQL_SLAVE_SKIP_COUNTER

2007-06-08 Thread Ashok Chauhan
Hi List, I want to know the alternative command of "SET GLOBAL SQL_SLAVE_SKIP_COUNTER" OR How i skip the counter of Relay Log Position. Thanks Ashok -- MySQL General Mailing List For list archives: http://lists.mysql.com/mysql To unsubscribe:http://lists.mysql.com/[EMAIL PROTECTED]

why not set GLOBAL SQL_SLAVE_SKIP_COUNTER to 2?

2007-02-08 Thread jianguo tang
, in order to simulate the 'duplicate key' integrity constraint violation. as the result,the Slave_SQL_Running thread on Slave stops. I can issue the following commands to restart the slave: SET GLOBAL SQL_SLAVE_SKIP_COUNTER = 1 ; slave start; my problem is why not SET GLOBAL SQ

Re: R: how use sql_slave_skip_counter to restore slave replication

2006-01-10 Thread Gleb Paharenko
Hello. > I already tried the option --slave-skip-errors, but i didn't work as > expected. > When this option is enabled, the slave didn't report the error message, but > the slave is stopped due the error. May be server dies due an error message which was not included in the slave-skip-e

R: how use sql_slave_skip_counter to restore slave replication

2006-01-10 Thread AESYS S.p.A. [Enzo Arlati]
19.46 A: mysql@lists.mysql.com Oggetto: Re: how use sql_slave_skip_counter to restore slave replication (still catching up, sorry about the old issues) Don't know what version is being used here, but one thing you might want to use, if you're just going to skip the errors anyway (hopefully

Re: how use sql_slave_skip_counter to restore slave replication

2006-01-09 Thread sheeri kritzer
#x27; or better yet > 'replace into' > for every insert statement > > AESYS S.p.A. [Enzo Arlati] wrote: > > >I'm trying to use teh parameter sql_slave_skip_counter at run-time to > >restore slave replication. > >When a slave replication broke due some error

Re: R: how use sql_slave_skip_counter to restore slave replication

2005-12-30 Thread Gleb Paharenko
should fail on the master, and therefore they can't be replicated. Are you directly update your slave? Or probably you have an old version which is buggy? AESYS S.p.A. [Enzo Arlati] wrote: > So it should be possible to automate a skip of errors setting by code , at > run-time, sq

R: how use sql_slave_skip_counter to restore slave replication

2005-12-30 Thread AESYS S.p.A. [Enzo Arlati]
So it should be possible to automate a skip of errors setting by code , at run-time, sql_slave_skip_counter = 1, each time I check the slave status and I found an error, and then I restart the slave Thanks, I should try this way. One think it is astonished: I can agree that there should bu some

Re: how use sql_slave_skip_counter to restore slave replication

2005-12-29 Thread Leo
other than what Gleb says, you can avoid the error using 'insert ignore into' or better yet 'replace into' for every insert statement AESYS S.p.A. [Enzo Arlati] wrote: I'm trying to use teh parameter sql_slave_skip_counter at run-time to restore slave replication.

Re: how use sql_slave_skip_counter to restore slave replication

2005-12-29 Thread Gleb Paharenko
Hello. > but the problem is the same and the command 'show slave status' report >a skip_counter filed equals 0. > Where I am wrong , some can help me ? This variable is the number of events from the master that a slave server should skip. sql_slave_skip_counter decre

how use sql_slave_skip_counter to restore slave replication

2005-12-28 Thread AESYS S.p.A. [Enzo Arlati]
I'm trying to use teh parameter sql_slave_skip_counter at run-time to restore slave replication. When a slave replication broke due some errors in code, my be a duplicate key, the only working way to restore the replica where to delete the existing record which conflicts whith the ones insert

SQL_SLAVE_SKIP_COUNTER

2004-08-16 Thread Batara Kesuma
Hi, If I run these commands on slave: SET GLOBAL SQL_SLAVE_SKIP_COUNTER = 1 SET GLOBAL SQL_SLAVE_SKIP_COUNTER = 1 SET GLOBAL SQL_SLAVE_SKIP_COUNTER = 1 (3 times and then...) START SLAVE How many counter will be skipped? Is it 3 or just 1? Thank you. Regards, Batara -- MySQL General Mailing

RE: SET SQL_SLAVE_SKIP_COUNTER=

2002-05-28 Thread Luc Foisy
all our slaves are running at that older version I checked back about 12000 messages (2/21/02) and then realized what went down. -Original Message- From: Luc Foisy Sent: Tuesday, May 28, 2002 11:53 AM To: MYSQL-List (E-mail) Subject: RE: SET SQL_SLAVE_SKIP_COUNTER= I am sure I did

RE: SET SQL_SLAVE_SKIP_COUNTER=

2002-05-28 Thread Luc Foisy
:56 AM To: [EMAIL PROTECTED] Subject: Re: SET SQL_SLAVE_SKIP_COUNTER= In article <[EMAIL PROTECTED]>, "Luc Foisy" <[EMAIL PROTECTED]> writes: >> MySQL version too old? > It is kinda old (3.23.32), but I did set some kind of skip counter before, just >can

RE: SET SQL_SLAVE_SKIP_COUNTER=

2002-05-28 Thread Luc Foisy
It is kinda old (3.23.32), but I did set some kind of skip counter before, just can't remeber how I did it. -Original Message- From: Harald Fuchs [mailto:[EMAIL PROTECTED]] Sent: Tuesday, May 28, 2002 9:50 AM To: [EMAIL PROTECTED] Subject: Re: SET SQL_SLAVE_SKIP_COUNTER= In ar

SET SQL_SLAVE_SKIP_COUNTER=

2002-05-28 Thread Luc Foisy
Can someone tell me what the correct syntax for this is? SET SQL_SLAVE_SKIP_COUNTER=n Skip the next n events from the master. Only valid when the slave thread is not running, otherwise, gives an error. Useful for recovering from replication glitches. mysql> show slave statu

SQL_SLAVE_SKIP_COUNTER not working

2001-02-09 Thread Leonardo Dias
I've been trying a lot and the SET SQL_SLAVE_SKIP_COUNTER didn't work... what should I do then? -- Leonardo Dias Catho Online WebDeveloper http://www.catho.com.br/ - Before posting, please check: http://www