Re: commands out of sync, you can't run this command now'

2016-01-08 Thread Peter Brawley
s out of sync, you can't run this command now' This error is generated sometimes when opening a page ,and immediately after refreshing the page, error gone. Can you please help me to troubleshoot this issue, so that above error disappears permanently? Is it a database issue or applica

Re: commands out of sync, you can't run this command now'

2016-01-08 Thread Reindl Harald
-sync.html http://stackoverflow.com/questions/15798762/mysqli-commands-out-of-sync-you-cant-run-this-command-now On Friday, January 8, 2016 10:47 AM, geetanjali mehra wrote: Hi all, Suddenly I have started getting below error from our web site: 'commands out of sync, you can'

commands out of sync, you can't run this command now'

2016-01-07 Thread geetanjali mehra
Hi all, Suddenly I have started getting below error from our web site: 'commands out of sync, you can't run this command now' This error is generated sometimes when opening a page ,and immediately after refreshing the page, error gone. Can you please help me to troubleshoot this

ANN: Data Sync for MySQL 15.3 released

2015-03-26 Thread SQL Maestro Team
Hi! SQL Maestro Group announces the release of Data Sync for MySQL 15.3, a powerful and easy-to-use tool for MySQL database contents comparison and synchronization. The new version is immediately available for download at http://www.sqlmaestro.com/products/mysql/datasync/ Top 5 new features

RE: Mysql Cluster Sync-UP

2013-04-10 Thread Andrew Morgan
, Andrew. > -Original Message- > From: Kevin Peterson [mailto:qh.res...@gmail.com] > Sent: 09 April 2013 04:58 > To: mysql@lists.mysql.com > Subject: Mysql Cluster Sync-UP > > Hi, > > I am running My-SQL in cluster mode with two machine. Want to know if > mysql da

RE: how to sync mysql.user table between to two mysql instances

2012-03-17 Thread Brown, Charles
Johan De Meersman [mailto:vegiv...@tuxera.be] Sent: Friday, March 16, 2012 5:00 PM To: Baron Schwartz Cc: MySql Subject: Re: how to sync mysql.user table between to two mysql instances - Original Message - > From: "Baron Schwartz" > > 1. With mysqldump. mysqldump -hm

Re: how to sync mysql.user table between to two mysql instances

2012-03-16 Thread Johan De Meersman
- Original Message - > From: "Baron Schwartz" > > 1. With mysqldump. mysqldump -hmysql-inst1 mysql | mysql > -hmysql-inst2 mysql And then, of course, issue a FLUSH PRIVILEGES on mysql-inst2 :-) -- Bier met grenadyn Is als mosterd by den wyn Sy die't drinkt, is eene kwezel Hy die't dri

RE: how to sync mysql.user table between to two mysql instances

2012-03-16 Thread David Lerer
6, 2012 2:59 PM To: David Lerer; Baron Schwartz; MySql Subject: RE: how to sync mysql.user table between to two mysql instances Hello David, Precisely, that's what my problem is. The users found in mysqlinst1 are not in mysqlinst2. There are about 30 users defined in inst1 and only 4 in ins

RE: how to sync mysql.user table between to two mysql instances

2012-03-16 Thread Brown, Charles
Hello David, Precisely, that's what my problem is. The users found in mysqlinst1 are not in mysqlinst2. There are about 30 users defined in inst1 and only 4 in inst2. I would like to sync these tables. How do you do it in short of creating 26 accounts in mysqlinst2 one at a time - too te

RE: how to sync mysql.user table between to two mysql instances

2012-03-16 Thread David Lerer
sync mysql.user table between to two mysql instances Charles, 1. With mysqldump. mysqldump -hmysql-inst1 mysql | mysql -hmysql-inst2 mysql 2. With pt-table-sync from Percona Toolkit if you need something more sophisticated. On Fri, Mar 16, 2012 at 1:27 PM, Brown, Charles wrote: > Can some

Re: how to sync mysql.user table between to two mysql instances

2012-03-16 Thread Baron Schwartz
Charles, 1. With mysqldump. mysqldump -hmysql-inst1 mysql | mysql -hmysql-inst2 mysql 2. With pt-table-sync from Percona Toolkit if you need something more sophisticated. On Fri, Mar 16, 2012 at 1:27 PM, Brown, Charles wrote: > Can someone instruct me on how to sync mysql.user table between

how to sync mysql.user table between to two mysql instances

2012-03-16 Thread Brown, Charles
Can someone instruct me on how to sync mysql.user table between to two mysql instances. In other words, I wouild like to copy mysql.user from mysql-inst1 to mysql-inst2 + Thanks This message is intended only for the use of the Addressee and may

ANN: Data Sync for MySQL released

2011-10-20 Thread SQL Maestro Team
Hi! SQL Maestro Group starts a new product family and announces the release of Data Sync for MySQL, a powerful and easy-to-use tool for MySQL database contents comparison and synchronization. http://www.sqlmaestro.com/products/mysql/datasync/ Key product features: 1

[question]master-slave sync delay

2011-09-14 Thread jiangwen jiang
Hi, all: There is a problem about master-slave sync delay, I find some infomations from 'show processlist', some like that: 1051system user nsConnect 10 update xxx what does Connect mean, mysql manual explained: Connect A replication slave is connected to

Replication Sync Error

2011-06-23 Thread Anupam Karmarkar
Hi All, We are running semi-sync replication on production server, last week found out that replication suck at some event schedule created at master, as that was not important i skipped that started replication again, found out that slave is days behind at master, i invested gate more and

Re: Out of sync tables

2011-04-15 Thread Gary
Michael and Reindl Thank you both for you help and patience. I have inserted the $id = mysql_insert_id($connection) as well as the code in the INSERT clause and it seems to be working fine. One note is it turns out I did have AI on both tables, so that may have been adding a monkey wrench. I

Re: Out of sync tables

2011-04-15 Thread Johan De Meersman
- Original Message - > From: "Gary" > > I'm not sure I undertand this, could you explain a little further for > me. This is what they're talking about: http://dev.mysql.com/doc/refman/5.0/en/information-functions.html#function_last-insert-id -- Bier met grenadyn Is als mosterd by den

Re: Out of sync tables

2011-04-15 Thread Reindl Harald
Am 15.04.2011 18:52, schrieb Gary: > I'm sorry, I am unfamliar with an asc file, so I have not opened them. > > GAry > > > "Reindl Harald" wrote in message > news:4da87554.8030...@thelounge.net... you should not open them if your mail client would have gpg you would see a signed message and

Re: Out of sync tables

2011-04-15 Thread Gary
I'm sorry, I am unfamliar with an asc file, so I have not opened them. GAry "Reindl Harald" wrote in message news:4da87554.8030...@thelounge.net... __ Information from ESET Smart Security, version of virus signature database 6044 (20110415) __ The message was checked b

Re: Out of sync tables

2011-04-15 Thread Reindl Harald
second. > "" > > I'm not sure I undertand this, could you explain a little further for me as long you never use the insert-id from the AI i wonder how there could be anything out of sync because there never can be anything in sync signature.asc Description: OpenPGP digital signature

Re: Out of sync tables

2011-04-15 Thread Gary
if ($_POST['address'] != '' ) { die("Changed field"); } This guarantees that your 2 auto_increment sequences will fall out of sync any time any client POSTs (and perhaps all gets?) to this script without an 'address' parameter. Again, I see no reason you coul

Re: Out of sync tables

2011-04-15 Thread Michael Dykman
The first thing I notice browsing your code is this block stuck immediately between your 2 insert statements: if ($_POST['address'] != '' ) { die("Changed field"); } This guarantees that your 2 auto_increment sequences will fall out of sync any time any clie

Re: Out of sync tables

2011-04-15 Thread Reindl Harald
nd. Then there > is only one sequence to worry about with nothing to sync against > "" > > There is only one AI into the main page. This is the insert code, I have > probably left more in than you need to see. > > What I also did was to add some duplicate colum

Re: Out of sync tables

2011-04-15 Thread Gary
Michael, thank you for your reply ""Might I suggest, instead of the 2 part juggling act, you drop the auto-increment property on your second table, and just use the value derived from the first as the joining key in the second. Then there is only one sequence to worry about with nothi

Re: Out of sync tables

2011-04-15 Thread Michael Dykman
derived from the first as the joining key in the second. Then there is only one sequence to worry about with nothing to sync against - michael dykman On Fri, Apr 15, 2011 at 10:33 AM, Gary wrote: > I have a innodb with a join on two tables.  The foreign key is the  id > column which is set to

Out of sync tables

2011-04-15 Thread Gary
I have a innodb with a join on two tables. The foreign key is the id column which is set to AI. I have been having an issue of the tables being out of sync in that the id is not the same on the two tables. I have corrected this a couple of times in phpmyadmin by resetting the auto_increment

Re: running a mysql query inside a loop of another without a sync error

2011-01-19 Thread Michael Dykman
t; mysql_free_result(res); > > Whenever I run the second query, inside the loop, I get the nasty > 'commands out of sync' error. How can I run a select query while in a > loop fetching rows from another select query? Or, do I have to fetch all > the rows completely first and

Re: running a mysql query inside a loop of another without a sync error

2011-01-19 Thread Shawn Green (MySQL)
er I run the second query, inside the loop, I get the nasty 'commands out of sync' error. How can I run a select query while in a loop fetching rows from another select query? Or, do I have to fetch all the rows completely first and store them in memory (which wouldn't be very 'nice

running a mysql query inside a loop of another without a sync error

2011-01-19 Thread Delan Azabani
MYSQL_RES *res2; MYSQL_ROW row2; mysql_query(mysql, "some other select query using an id from the first"); res2 = mysql_use_result(mysql); /* ... */ mysql_free_result(res2); } mysql_free_result(res); Whenever I run the second query, inside the loop, I get the nasty &#x

Re: master-slave replication sync problems.

2010-08-31 Thread Todd Lyons
the two slaves in sync even after i > restart the server. the way i do it now is to: As one other stated, it should not lose position when you stop and start the master or slave in a controlled manner. And also stated was that the way you were doing it was causing a loss of data, and you'll

Re: master-slave replication sync problems.

2010-08-26 Thread Shawn Green (MySQL)
how much to increment the SKIP_COUNTER below, otherwise, you just have to do it one at a time until they sync again. mysql> stop slave; SET GLOBAL SQL_SLAVE_SKIP_COUNTER = 1; start slave; show slave status\G Repeat the above statements over and over until you see two YES rows. **

RE: master-slave replication sync problems.

2010-08-26 Thread Daevid Vincent
st have to do it one at a time until they sync again. mysql> stop slave; SET GLOBAL SQL_SLAVE_SKIP_COUNTER = 1; start slave; show slave status\G Repeat the above statements over and over until you see two YES rows. *** 1. row ***

Re: master-slave replication sync problems.

2010-08-26 Thread a . smith
Quoting jitendra ranjan : Hi,   The best way to use sync the master and slave is using mk-checksum tools. just google it and use the the tools for online sync of master and slave.   Jeetendra Ranjan MySQL DBA Yes, data integrity isnt guaranteed with MySQL replication. So if you want to

Re: master-slave replication sync problems.

2010-08-26 Thread a . smith
Quoting Ananda Kumar : Smith, I never said, this wont work.Some times, there are chances of lossing data. regards anandkl If you have experience of this fair enough. Theres no reason it should make any difference, as everything is based upon the binlog file and position... -- MySQL

Re: master-slave replication sync problems.

2010-08-26 Thread jitendra ranjan
Hi,   The best way to use sync the master and slave is using mk-checksum tools. just google it and use the the tools for online sync of master and slave.   Jeetendra Ranjan MySQL DBA --- On Thu, 26/8/10, Norman Khine wrote: From: Norman Khine Subject: master-slave replication sync problems

Re: master-slave replication sync problems.

2010-08-26 Thread Ananda Kumar
> not sure what you refer to when you talk about the master status syncing. > The master will continue to increment the binlog when changes are made > regardless of whether the slave is up. If the slave has been rebooted and is > behind the master binlog pos it should automatically

Re: master-slave replication sync problems.

2010-08-26 Thread a . smith
been rebooted and is behind the master binlog pos it should automatically sync those changes when started... -- MySQL General Mailing List For list archives: http://lists.mysql.com/mysql To unsubscribe:http://lists.mysql.com/mysql?unsub=arch...@jab.org

Re: master-slave replication sync problems.

2010-08-26 Thread Ananda Kumar
Yes, You need to note down the master bin-log file name and position on the slave, this is a must. regards anandkl On Thu, Aug 26, 2010 at 7:34 PM, Norman Khine wrote: > i see, so the best is to just stop slave and then check the master > status, and when the master status syncs then i start

Re: master-slave replication sync problems.

2010-08-26 Thread Norman Khine
i see, so the best is to just stop slave and then check the master status, and when the master status syncs then i start the slave? On Thu, Aug 26, 2010 at 3:09 PM, wrote: > That is really bad, you will loose changes. > > You shouldnt have to do anything when rebooting either the master or sla

Re: master-slave replication sync problems.

2010-08-26 Thread Ananda Kumar
True, But some times, this does not work and u need to know the master bin-log file and position to start, so that there is no loss of data. regards anandkl On Thu, Aug 26, 2010 at 6:39 PM, wrote: > That is really bad, you will loose changes. > > You shouldnt have to do anything when rebooting

Re: master-slave replication sync problems.

2010-08-26 Thread a . smith
That is really bad, you will loose changes. You shouldnt have to do anything when rebooting either the master or slave. If the master is down, then the slave recieves no updates. If the slave is down, when it comes back up it checks the master log pos and plays thro any changes that are nec

Re: master-slave replication sync problems.

2010-08-26 Thread Ananda Kumar
complete sync with master... Here u will see the master log file and position. U need to use this, next time u start ur slave to sync with master. regards anandkl On Thu, Aug 26, 2010 at 6:34 PM, Norman Khine wrote: > hello, > i have a working master-slave replication, the problem i find is tha

master-slave replication sync problems.

2010-08-26 Thread Norman Khine
hello, i have a working master-slave replication, the problem i find is that if i restart the MASTER there is a difference in the MASTER_LOG_FILE and MASTER_LOG_POS on the SLAVE. what is the correct way to keep the two slaves in sync even after i restart the server. the way i do it now is to

Re: Mysql Replication out of sync

2009-01-09 Thread Shain Miley
bject: Mysql Replication out of sync Hello all, I noticed that my two Mysql slave servers were running out of sync this morning. After looking into it...it appears that yesterday when I tried to change the username of a user on the master server...it caused some issues on the slav

Re: Mysql Replication out of sync

2009-01-09 Thread Jose Julian Buda
restart the replication, but you have to check then why this happened, just in case... - Original Message - From: Shain Miley To: mysql@lists.mysql.com Sent: Friday, January 09, 2009 3:17 PM Subject: Mysql Replication out of sync Hello all, I noticed that my two Mysql s

Mysql Replication out of sync

2009-01-09 Thread Shain Miley
Hello all, I noticed that my two Mysql slave servers were running out of sync this morning. After looking into it...it appears that yesterday when I tried to change the username of a user on the master server...it caused some issues on the slaves. Here is what I was able to pull from the

Re: sync

2008-09-01 Thread Mad Unix
yes, they should be identical , am thinking to use the howtoforge mysql_database_replication document. On Mon, Sep 1, 2008 at 4:58 PM, Ranjeet Walunj <[EMAIL PROTECTED]>wrote: > Mad Unix wrote: > >> I was wandering if anyone know a good way to sync 2mysql databases >>

RE: sync

2008-09-01 Thread Martin Gainty
gt; Date: Mon, 1 Sep 2008 17:58:10 +0530> From: [EMAIL PROTECTED]> To: [EMAIL PROTECTED]> CC: mysql@lists.mysql.com> Subject: Re: sync> > Mad Unix wrote:> > I was wandering if anyone know a good way to sync 2mysql databases _one_way> > The mysql is alocated on a web

Re: sync

2008-09-01 Thread Ranjeet Walunj
Mad Unix wrote: I was wandering if anyone know a good way to sync 2mysql databases _one_way The mysql is alocated on a web php application Do they (DB) need to be identical ? Have you checked replication ? Regards, Ranjeet Walunj -- MySQL General Mailing List For list archives: http

Re: sync

2008-09-01 Thread ewen fortune
Hi, Have you tried mk-table-sync from the Maatkit toolset http://www.maatkit.org/tools.html Ewen On Mon, Sep 1, 2008 at 2:12 PM, Mad Unix <[EMAIL PROTECTED]> wrote: > I was wandering if anyone know a good way to sync 2mysql databases _one_way > The mysql is alocated on a web php

sync

2008-09-01 Thread Mad Unix
I was wandering if anyone know a good way to sync 2mysql databases _one_way The mysql is alocated on a web php application. Thanks -- Madunix_at_Gmail Sysadmin "Computers are useless. They can only give you answers" - Pablo Picasso "Never trust a computer you can'

Re: Replication Falls Out Of Sync With LOAD DATA

2007-11-29 Thread Michael Stearne
out the issue. When the slave would fall out of sync, I would resync using rsync. In that rsync command I was using the --delete option which would delete the relay log from the slave machine. Since the relay log was being removed constantly, the replication was in a strange state. That problem i

Re: Replication Falls Out Of Sync With LOAD DATA

2007-11-28 Thread B. Keith Murphy
The reason I asked about version is that it looks like there is problem replcating a load data infile command from some versions of 4.x to 5.x slaves. Baron Schwartz wrote: What do you mean by "falls out of sync?" LOAD DATA INFILE hasn't been a problem for me, and I use it

Re: Replication Falls Out Of Sync With LOAD DATA

2007-11-28 Thread Baron Schwartz
What do you mean by "falls out of sync?" LOAD DATA INFILE hasn't been a problem for me, and I use it a LOT. It's so simple that I suspect something else. But then again, I don't know what you mean by "out of sync" :) On Nov 28, 2007 4:32 PM, B. Keith Murph

Re: Replication Falls Out Of Sync With LOAD DATA

2007-11-28 Thread B. Keith Murphy
What versions of MySQL are you using on both the master adn the slaves? Keith Michael Stearne wrote: We have replication set up for 1 master and 4 slaves. When resynced everything appears to work fine. Come back a couple hours later and the machines are out of sync. The only thing I can think

Replication Falls Out Of Sync With LOAD DATA

2007-11-28 Thread Michael Stearne
We have replication set up for 1 master and 4 slaves. When resynced everything appears to work fine. Come back a couple hours later and the machines are out of sync. The only thing I can think of that could cause this is that we are inserting some data on the master (updates,inserts

Re: Replication vs. mysql-table-sync

2007-11-26 Thread B. Keith Murphy
Michael Stearne wrote: Is mysql-table-sync design to be used as a fix for when your replication is out of sync OR can it be used instead of replication? Thanks, Michael You need to use replication not mysql-table-sync for replication. mysql-table-sync is use to get it back in sync

Replication vs. mysql-table-sync

2007-11-25 Thread Michael Stearne
Is mysql-table-sync design to be used as a fix for when your replication is out of sync OR can it be used instead of replication? Thanks, Michael -- MySQL General Mailing List For list archives: http://lists.mysql.com/mysql To unsubscribe:http://lists.mysql.com/[EMAIL PROTECTED]

Bounty on MySQL Table Sync features

2007-11-02 Thread Baron Schwartz
Many of you have used MySQL Table Sync (or other tools from the MySQL Toolkit I maintain). It has become increasingly complicated and time-consuming to develop these tools, and I can't keep up with them in my spare time anymore. I am willing to take some time off work to fix bugs an

Re: Oracle to Mysql Sync

2007-03-07 Thread David Griffiths
o move away from our dependence on Oracle over to using a Mysql Cluster. Due to the complexity of the move it will have to happen over a period of time, what I would like to do is keep our mysql database in sync with our Oracle DBthis would allow us to prove that the MySQL db can deal with th

Oracle to Mysql Sync

2007-03-07 Thread Shain Miley
Hello everyone, I had a quick question...I am looking to move away from our dependence on Oracle over to using a Mysql Cluster. Due to the complexity of the move it will have to happen over a period of time, what I would like to do is keep our mysql database in sync with our Oracle DBthis

Script to perform unattended slave sync with master...

2007-02-16 Thread Kevin Burton
Has anyone built a script to add a new slave into a MySQL replication setup which can operate (for the most part) unattended? The set of operations is pretty straight forward but right now it's mostly a manual step which ends up taking a LONG time. The script would need to: * connect to a maste

Re: anyone using subversion to sync mysql dbs ?

2006-09-13 Thread Chris Sansom
No, I don't generally go along with underhand political activity. :-) (but I expect that's an old joke - I haven't been MySQLing all that long, you see...) -- Cheers... Chris Highway 57 Web Development -- http://highway57.co.uk/ Any inaccuracies in this index may be explained by the fact that

Re: anyone using subversion to sync mysql dbs ?

2006-09-13 Thread Graham Anderson
yep, your're right thanks for clearing that up :) How do most mysql folks sync live and development databases ? As an alternative, I could use a PHP script on a late-night crontab. g On Sep 13, 2006, at 1:11 AM, Chris wrote: Graham Anderson wrote: Is anyone using subversion to

Re: anyone using subversion to sync mysql dbs ?

2006-09-13 Thread Dan Buettner
For our Ruby on Rails app, during development, we're using SVN to store and sync a group of SQL load files, containing all the delete, insert and update commands necessary to fully populate the database. After doing an SVN update we then run a shell (or batch) script to pipe the SQL files

Re: anyone using subversion to sync mysql dbs ?

2006-09-13 Thread Chris
Graham Anderson wrote: Is anyone using subversion to sync live and development databases? If so, how? Is this desired or a best practice? Everything except my databases are under version control. In theory, I would like my databases to sync with the same subversion 'svn update' comm

anyone using subversion to sync mysql dbs ?

2006-09-12 Thread Graham Anderson
Is anyone using subversion to sync live and development databases? If so, how? Is this desired or a best practice? Everything except my databases are under version control. In theory, I would like my databases to sync with the same subversion 'svn update' command. That way, all w

Re: Data sync offline

2005-08-24 Thread Gleb Paharenko
Hello. Think about replication among other solutions. See: http://dev.mysql.com/doc/mysql/en/replication.html Alex Greg <[EMAIL PROTECTED]> wrote: > Hi, > > > Our company is considering migrating some tablesfrom MyISAM to InnoDB, > as it has row-level locking and other improvement

Re: Data sync offline

2005-08-24 Thread Karam Chand
http://www.sitepoint.com/article/mysql-data-sqlyog-job-agent SJA is available for both Linux and Windows. Karam --- Alex Greg <[EMAIL PROTECTED]> wrote: > Hi, > > > Our company is considering migrating some tablesfrom > MyISAM to InnoDB, > as it has row-level locking and other improvements >

Re: Data sync offline

2005-08-24 Thread Jason Pyeron
On Wed, 24 Aug 2005, Arno Coetzee wrote: Alex Greg wrote: Our company is considering migrating some tablesfrom MyISAM to InnoDB, as it has row-level locking and other improvements over MyISAM. However, one of the things we do at the moment is rsync the MySQL data directory to our development

Re: Data sync offline

2005-08-24 Thread Arno Coetzee
Alex Greg wrote: Hi, Our company is considering migrating some tablesfrom MyISAM to InnoDB, as it has row-level locking and other improvements over MyISAM. However, one of the things we do at the moment is rsync the MySQL data directory to our development server every night over an 2Mbps ADSL

Data sync offline

2005-08-24 Thread Alex Greg
Hi, Our company is considering migrating some tablesfrom MyISAM to InnoDB, as it has row-level locking and other improvements over MyISAM. However, one of the things we do at the moment is rsync the MySQL data directory to our development server every night over an 2Mbps ADSL connection (as we h

Re: Sync 2 live MySQL Databases

2005-05-26 Thread Cecil Brand
at PO Box 339 Bloemfontein 9300 South Africa Tel :401 2940 Email :[EMAIL PROTECTED] >>> Simon Garner <[EMAIL PROTECTED]> 5/26/2005 8:56:14 AM >>> On 26/05/2005 6:40 p.m., Cecil Brand wrote: > Hi, > > I was wandering if anyone know of a stable and reliabile way

Re: Sync 2 live MySQL Databases

2005-05-25 Thread Simon Garner
On 26/05/2005 6:40 p.m., Cecil Brand wrote: Hi, I was wandering if anyone know of a stable and reliabile way to sync 2 live mysql databases, both ways. I know I can use a master and slave, and yes have setup a few without any problem, but as all of us know this is just a one way downstream sync

Sync 2 live MySQL Databases

2005-05-25 Thread Cecil Brand
Hi, I was wandering if anyone know of a stable and reliabile way to sync 2 live mysql databases, both ways. I know I can use a master and slave, and yes have setup a few without any problem, but as all of us know this is just a one way downstream sync. I need to sync both ways and basicly live

Re: slave out of sync

2005-04-15 Thread Atle Veka
To answer the original poster of this thread, it would help if you could post more details about what happened such as error messages and mysqld versions. My hunch is that the binlog got corrupted and the slave choked on it. Did you try issuing 'SET GLOBAL SQL_SLAVE_SKIP_COUNTER=1' (omit GLOBAL if

Re: slave out of sync

2005-04-14 Thread Local
x27;t sync up. i got the slave up and running again by changing the log file and offset in the slave. but now i am left with out of sync data. how do i get these back in sync, and how do i aviod this in the future? Why wouldn't they sync up? If you left off at master-005, pos 123 (lets say).

RE: slave out of sync

2005-04-14 Thread normandl
Often times when my replication breaks, it is a quasi monumental task to re-sync. Luckily, my replication is occurring on a data warehouse, where the tables represent each days worth of data. If replication fails, I can usually, get replication back on track by fixing whatever occurs in the data

Re: slave out of sync

2005-04-14 Thread Jeff Smelser
On Friday 08 April 2005 10:38 am, Chris Scheller wrote: > i have replication going between 2 boxes. the master crashed a few days > ago, and this morning i noticed that the slaves slave thread errored > out. the binary log and offset had changed on the master and the slave > couldn&

Re: slave out of sync

2005-04-12 Thread Gleb Paharenko
Hello. Replication shouldn't die if one of the participants goes offline. But unclean shutdowns of the master may cause inconsistencies between the content of tables and the binary log in master; this can be avoided by using InnoDB tables and the --innodb-safe-binlog option on the master.

Re: slave out of sync

2005-04-11 Thread Local
Gleb Paharenko wrote: > But if you had an updates and deletes after crashing the master your task became difficult. But the easiest way, as for me, > > is to clear the slave and setup replication again. You may use think this is what i am going to have to do as i found more errors this morning wit

Re: slave out of sync

2005-04-11 Thread Gleb Paharenko
t; i have replication going between 2 boxes. the master crashed a few days > ago, and this morning i noticed that the slaves slave thread errored > out. the binary log and offset had changed on the master and the slave > couldn't sync up. i got the slave up and running again by ch

slave out of sync

2005-04-08 Thread Chris Scheller
i have replication going between 2 boxes. the master crashed a few days ago, and this morning i noticed that the slaves slave thread errored out. the binary log and offset had changed on the master and the slave couldn't sync up. i got the slave up and running again by changing the log

bdb-no-sync

2005-03-17 Thread Jacob Green
What are the implications of setting the "--bdb-no-sync" flag when using the BDB storage engine. I haven't found alot of documentation on this in the docs or via google. Does this mean that after every transaction, sync will not be called? When will sync be called then? Will se

bdb-no-sync

2005-03-16 Thread Jacob Green
What are the implications of setting the "--bdb-no-sync" flag when using the BDB storage engine. There isn't alot of documentation on this. Does this mean that after every transaction, sync will not be called? When will sync be called then? Will setting this flag lead to &quo

Re: Sync db

2004-10-01 Thread David Griffiths
nsidered replication <http://dev.mysql.com/doc/mysql/en/Replication.html>? Michael spiv007 wrote: I want to know what to best way to keep a 4 mysql servers sync. I have 4 remote locations, I am thinking about putting a mysql server in each location and every hour have the 1 db that I n

Re: Sync db

2004-10-01 Thread Jim Grill
n Fri, 01 Oct 2004 10:38:07 -0400, Michael Stassen > <[EMAIL PROTECTED]> wrote: > > Have you considered replication > > <http://dev.mysql.com/doc/mysql/en/Replication.html>? > > > > Michael > > > > > > > > spiv007 wrote: > > > &g

Re: Sync db

2004-10-01 Thread spiv007
> Have you considered replication > <http://dev.mysql.com/doc/mysql/en/Replication.html>? > > Michael > > > > spiv007 wrote: > > > I want to know what to best way to keep a 4 mysql servers sync. > > > > I have 4 remote locations, I am think

Re: Sync db

2004-10-01 Thread Michael Stassen
Have you considered replication <http://dev.mysql.com/doc/mysql/en/Replication.html>? Michael spiv007 wrote: I want to know what to best way to keep a 4 mysql servers sync. I have 4 remote locations, I am thinking about putting a mysql server in each location and every hour have the 1 db

Sync db

2004-09-30 Thread spiv007
I want to know what to best way to keep a 4 mysql servers sync. I have 4 remote locations, I am thinking about putting a mysql server in each location and every hour have the 1 db that I need to sync to sync together. Is there away to do its in somewhat real time or even a delay maybe of an

Re: Commands out of sync

2003-09-16 Thread Paul DuBois
At 4:26 PM +0200 9/16/03, VIVES Ariel wrote: Hello the list, sorry for my english, i'm french :-p i've got a php script with a mysql database. everything works fine. but today, i've got this message : Commands out of sync; You can't run this command now i've done N

Re: Commands out of sync

2003-09-16 Thread Boyd Lynn Gerber
On 16 Sep 2003, VIVES Ariel wrote: > i've got a php script with a mysql database. > everything works fine. > but today, i've got this message : > > Commands out of sync; You can't run this command now > > i've done NOTHING. > nothing on my php script

Commands out of sync

2003-09-16 Thread VIVES Ariel
Hello the list, sorry for my english, i'm french :-p i've got a php script with a mysql database. everything works fine. but today, i've got this message : Commands out of sync; You can't run this command now i've done NOTHING. nothing on my php scripts. nothing on

'Commands out of sync' when moving app from Linux to MacOS X

2003-09-04 Thread David Dennis
compiling my programs on MacOS X, they compile fine, but in many cases I am getting a "Commands out of Sync" error when previously I had no errors. They seem to fail consistently in the same place, but I'm having a really tough time telling why they're failing. The problem se

Re: How to Track error - Commands Out of Sync

2003-08-26 Thread Jocelyn Fournier
day, August 26, 2003 10:23 PM Subject: Re: How to Track error - Commands Out of Sync > Jocelyn, > We use PHP for our application. We are running version 4.2.3. Thanks for the > help. > > > On 8/26/03 2:16 PM, "Jocelyn Fournier" <[EMAIL PROTECTED]> wrot

Re: How to Track error - Commands Out of Sync

2003-08-26 Thread Jocelyn Fournier
Hi, Do you use PHP ? If so, which version is installed ? Regards, Jocelyn - Original Message - From: "Free Grafton" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Tuesday, August 26, 2003 10:05 PM Subject: How to Track error - Commands Out of Sync > We ar

How to Track error - Commands Out of Sync

2003-08-26 Thread Free Grafton
We are currently running about 50 databases on MySQL 4.0.14. Occasionally our users will get the error: Couldn't select database. Message: Commands out of sync; You can't run this command now Message Number: 2014 When this happens to one customer, it affects them all. We end up

high availability sync of 3 hosts

2003-07-18 Thread Gaspar Bakos
Hello, I am trying to find a solution for the following scenario. The topic is replication/high-availability/redundancy and sync. I have three computers, A, B and C. "A" and "B" are operating important hardware (astronomical telescopes TEL_A and TEL_B), and the operation p

(2014) Commands out of sync; You can't run this command now

2003-05-28 Thread Ben Clewett
MySql, Hope you can help. I'm suddenly, after updgrading to MySQL 4.0.13-max-log Linux, getting the error: (2014) Commands out of sync; You can't run this command now On the second command I send to MySQL. First, no problem. I'm using MyC libruary, which has worked before.

@hi, need sync mysql users password with LDAP3.x

2003-03-09 Thread Miroslav Ris SA of iNet
Hi, I very need sync password for same mysql users with LDAP (or *nix passwd file). Any idea? -- Miroslav Ris System Administrator iNet System iNet WebMail System - Before posting, please

  1   2   >