Re: MySQL Slave is almost 1 day behind

2010-03-26 Thread Ananda Kumar
Also, run "SHOW PROCESSLIST", to see what sql's are running on slave. This will give u any idea if any huge dml was run on master and its getting sync'd with slave. regards anandkl On Fri, Mar 26, 2010 at 8:25 PM, Jim Lyons wrote: > A few things to keep in mind: > > 1: the master may have seve

Re: MySQL Slave is almost 1 day behind

2010-03-26 Thread Jim Lyons
A few things to keep in mind: 1: the master may have several threads feeding into the binlog at a time, but a slave only executes in a single thread. Are you throwing more stuff at the slave in multiple mysql threads? 2: is there something else going on with the slave box? some big backup or gz

MySQL Slave is almost 1 day behind

2010-03-26 Thread Steven Staples
Good day :) We've had our master/slave server running for a while now, and just yesterday, we started getting behind. Not entirely sure what happened, but it is getting further and furhter behind. (master server) mysql> show master status\G *** 1. row *

Re: MySQL slave master replication

2009-12-30 Thread Miguel Angel Nieto
Hi, MySQL replicate the databases at SQL level, so if the two servers are using the same engine (innodb), they will be replicated without problems. If the BLOB data is big, don't configure the replication over a WAN or you will get too much latency (of course, it depends on your bandwidth). 2009

MySQL slave master replication

2009-12-28 Thread Jamie DelleMonache
I know the master/slave replication scheme for MySQL is pretty easy to set up; I'm doing it lab now. My question is does anyone know if it will successfully replicate foreign key constraints and large BLOB date types. Any feedback on this would be gratefully appreciated. __

RE: mySQL slave IO Running and SQL Running

2009-05-21 Thread Jerry Schwartz
ore than once. >-Original Message- >From: Daevid Vincent [mailto:dae...@daevid.com] >Sent: Wednesday, May 20, 2009 4:49 PM >To: mysql@lists.mysql.com >Cc: 'Gavin Towey'; 'Claudio Nanni' >Subject: RE: mySQL slave IO Running and SQL Running > >Well, in 9

RE: mySQL slave IO Running and SQL Running

2009-05-20 Thread Daevid Vincent
y [mailto:gto...@ffn.com] > Sent: Wednesday, May 20, 2009 1:20 PM > To: Claudio Nanni; Daevid Vincent > Cc: mysql@lists.mysql.com > Subject: RE: mySQL slave IO Running and SQL Running > > Please note that this is *NOT* a way to "get them synched again" > > In fact

RE: mySQL slave IO Running and SQL Running

2009-05-20 Thread Gavin Towey
re just masking problems. -Original Message- From: Claudio Nanni [mailto:claudio.na...@gmail.com] Sent: Wednesday, May 20, 2009 12:49 PM To: Daevid Vincent Cc: mysql@lists.mysql.com Subject: Re: mySQL slave IO Running and SQL Running Yeah Daevid! I know very well the issue! first set th

Re: mySQL slave IO Running and SQL Running

2009-05-20 Thread Claudio Nanni
Yeah Daevid! I know very well the issue! first set the slave to READ ONLY [mysqld] read-only then there is a configuration option to tell the server to skip some type of errors automatically slave-skip-errors= http://dev.mysql.com/doc/refman/5.1/en/replication-options-slave.html#option_mysqld

mySQL slave IO Running and SQL Running

2009-05-20 Thread Daevid Vincent
We have a master / slave setup and as you know, one bad query can ruin your whole day. Or if you accidentally write to the slave when you meant to write to the master, or any number of other things that break the fragility of a replication setup. The magic incantation to get them synched again se

mysql slave replication with master-retry-count

2008-09-09 Thread Frederic Belleudy
hello, I would like to set that option in mysql 5.0.45 on my slave server: |master-retry-count=800 my slave status: Slave_IO_State: Queueing master event to the relay log Master_Host: xx.xx.xx.xx Master_User: fmRepl Master_Port: 3306

Re: mysql slave got duplicate error (1062) frequently

2008-07-10 Thread Changying Li
my sql version is mysql> select version(); +--+ | version()| +--+ | 5.0.24a-standard-log | +--+ 1 row in set (0.00 sec) linux kernel 2.6.11.6 Changying Li <[EMAIL PROTECTED]> writes: > I set a master and a slave, master s

mysql slave got duplicate error (1062) frequently

2008-07-10 Thread Changying Li
I set a master and a slave, master server is a live server, slave server does't online. but I got 1062 error frenquently, especially when I stop slave a while and start slave again. following is from my general log: 19 Query insert into user_stat (column_name,user_id,c

Re: MySQL Slave

2008-04-18 Thread Kaushal Shriyan
ve is done for you in the MySql dashboard program > suit. > > Ben > > > Kaushal Shriyan wrote: > > > Hi > > > > Is there a way to find out when the MySQL Slave has been restarted. > > > > Thanks and Regards > > > > Kaushal > > &

Re: MySQL Slave

2008-04-18 Thread Ben Clewett
a way to find out when the MySQL Slave has been restarted. Thanks and Regards Kaushal -- MySQL General Mailing List For list archives: http://lists.mysql.com/mysql To unsubscribe:http://lists.mysql.com/[EMAIL PROTECTED]

Re: MySQL Slave

2008-04-18 Thread dpgirago
> Hi > Is there a way to find out when the MySQL Slave has been restarted. > Thanks and Regards > Kaushal You can determine the server actions by looking through the slave log file. David

MySQL Slave

2008-04-18 Thread Kaushal Shriyan
Hi Is there a way to find out when the MySQL Slave has been restarted. Thanks and Regards Kaushal

RE: Error in mysql slave server

2007-09-05 Thread Rick James
2:37 AM > To: mysql@lists.mysql.com; [EMAIL PROTECTED] > Subject: Error in mysql slave server > > Hi All, > > I'm using Mysql 5 (with replication) on CentOS 4.4 OS with 2 > CPU and 8GB > of RAM. > Master & Slave servers have same hardware configration. >

Error in mysql slave server

2007-09-04 Thread Ashok Chauhan
Hi All, I'm using Mysql 5 (with replication) on CentOS 4.4 OS with 2 CPU and 8GB of RAM. Master & Slave servers have same hardware configration. Yesterday my master server, suddenly not established new connections. i checked the log of master server there is no error, then i checked the log of sl

Re: MySQL slave error when creating view

2007-04-16 Thread Darshan Jadav
2007 6:53:17 PM (GMT+0530) Asia/Calcutta Subject: Re: MySQL slave error when creating view Sounds like a bug to me. It's likely fixed in newer versions; a lot of view/function/sproc replication bugs have been fixed. But if not, you should report it. Tim Lucia wrote: > Nobody has any idea

Re: MySQL slave error when creating view

2007-04-14 Thread Baron Schwartz
riday, April 06, 2007 7:11 PM To: [EMAIL PROTECTED] Subject: MySQL slave error when creating view I ran the following DDL on our master today: CREATE OR REPLACE VIEW REF_TRANSFER_PREFERENCE ( IORG_UID, TDISTRICT_NAME, IORGDISPLAY, IORG ) AS SELECT 0, TDISTRICT_NAME, IORG_UID, IOR

RE: MySQL slave error when creating view

2007-04-13 Thread Tim Lucia
Nobody has any idea(s) on this? > -Original Message- > From: Tim Lucia [mailto:[EMAIL PROTECTED] > Sent: Friday, April 06, 2007 7:11 PM > To: [EMAIL PROTECTED] > Subject: MySQL slave error when creating view > > > I ran the following DDL on our master today: >

MySQL slave error when creating view

2007-04-05 Thread Tim Lucia
I ran the following DDL on our master today: CREATE OR REPLACE VIEW REF_TRANSFER_PREFERENCE ( IORG_UID, TDISTRICT_NAME, IORGDISPLAY, IORG ) AS SELECT 0, TDISTRICT_NAME, IORG_UID, IORG_UID FROM REF_PREFERENCE ; The master happily created the view. The slave however dies with: 07

Re: A 'Simple' Protocol for Manual MySQL Slave Promotion to Master

2007-02-08 Thread Dominik Klein
Here's another howto on this using keepalived instead: http://www.austintek.com/LVS/LVS-HOWTO/HOWTO/LVS-HOWTO.failover.html#ha_mysql Kishore Jalleda schrieb: HB, MON, IPFail would work well for this , here is some info from my website that I wrote very long ago, hope it helps http://kjalleda.

Re: A 'Simple' Protocol for Manual MySQL Slave Promotion to Master

2007-02-07 Thread Kishore Jalleda
HB, MON, IPFail would work well for this , here is some info from my website that I wrote very long ago, hope it helps http://kjalleda.googlepages.com/mysqlfailover http://kjalleda.googlepages.com/automatedmasterfailoverinmysql Kishore Jalleda On 2/7/07, Kevin Burton <[EMAIL PROTECTED]> wrote:

A 'Simple' Protocol for Manual MySQL Slave Promotion to Master

2007-02-07 Thread Kevin Burton
Hey. I should have posted this hear earlier but it just dawned on me that you guys could have some good feedback: "We've been working on the design of a protocol which would enable promotion of a slave to a master in a MySQL replication cluster. Right now, if a MySQL master fails, most people j

Re: MySQL Slave Read Only

2005-06-06 Thread Eric Bergen
There is an option starting in 4.0.14 called read-only that will allow only the slave i/o thread and users with the super priv to execute write queries. Jeremiah Gowdy wrote: Is there a way to make MySQL Slaves read only in regards to all UPDATE, INSERT, DELETE, DROP, TRUNCATE, etc, except

MySQL Slave Read Only

2005-06-06 Thread Jeremiah Gowdy
Is there a way to make MySQL Slaves read only in regards to all UPDATE, INSERT, DELETE, DROP, TRUNCATE, etc, except for the replication thread? I know you can just change the user accounts to disallow write access to the tables, but I'm thinking it would be convenient to simply have a switch th

Mysql slave trails behind the master

2004-01-07 Thread Mikael Fridh
Many times during higher load periods one of our slaves' replication is slower than real-time and the slave can get behind several minutes. 94211 system user NULLConnect 519 Has read all relay log; waiting for the I/O slave thread to update it In this case it's 519 second

mysql slave trailing behind

2003-11-25 Thread Mikael Fridh
One of My MySQL slaves is trailing behind its master. | 42 | system user | | NULL | Connect | 8193 | Has read all relay log; waiting for the I/O slave thread to update it | NULL | 8193 seconds behind. Why might the slave be trailing? I just did a slave stop; slave start;

Re: Signal 11 on replicated MySQL Slave (4.0.13-standard)

2003-06-02 Thread Victoria Reznichenko
Joel Rowbottom <[EMAIL PROTECTED]> wrote: > >Description: > MySQL crashes out with signal 11 when replication has been set up as > a slave. > >How-To-Repeat: > Follow instructions for replicated slave, then simply log out. If you > started mysqld (even if in nohup or

Signal 11 on replicated MySQL Slave (4.0.13-standard)

2003-05-29 Thread Joel Rowbottom
>Description: MySQL crashes out with signal 11 when replication has been set up as a slave. >How-To-Repeat: Follow instructions for replicated slave, then simply log out. If you started mysqld (even if in nohup or background) it still sig11's - options used w

mysql slave status

2002-03-12 Thread David Turner
Does anyone have a script to check on the replication status of the slave to make sure it isn't falling too far behind? Thanks, Dave Turner sql - Before posting, please check: http://www.mysql.com/manual.php (the manual)

Re: MySQL Slave Server

2001-10-27 Thread Jeremy Zawodny
On Thu, Oct 25, 2001 at 06:53:28PM -0500, William Robbins wrote: > I am getting this error message on my slave server > > 011025 16:46:14 mysqld started > /usr/local/mysql/libexec/mysqld: ready for connections > 011025 16:46:14 Slave thread: error connecting to master: Unknown MySQL > Server Ho

MySQL Slave Server

2001-10-25 Thread William Robbins
I am getting this error message on my slave server 011025 16:46:14 mysqld started /usr/local/mysql/libexec/mysqld: ready for connections 011025 16:46:14 Slave thread: error connecting to master: Unknown MySQL Server Host '' (0) (0), retry in 60 sec This is my my.cnf config file on the slave se