MySQL Forums
Forum List  »  Replication

Setting replication options through SQL commands
Posted by: Alexis ROYER
Date: January 18, 2006 05:28AM

Hello,
I'm using MySQL 5.0 and I'm looking for some way to set replication options through SQL commands:

I already have the following:
- log-bin
> SET SQL_LOG_BIN=1;
> SET SQL_LOG_BIN = 0;
> SELECT @@SQL_LOG_BIN;"
- server-id
> SET GLOBAL SERVER_ID = 1;
> SELECT @@SERVER_ID;
- slave-net-timeout
> SET GLOBAL SLAVE_NET_TIMEOUT = 30;
> SELECT @@SLAVE_NET_TIMEOUT;
- read-only
> SET GLOBAL READ_ONLY = 0;
> SET GLOBAL READ_ONLY = 1;
> SELECT @@READ_ONLY;

I'm still missing:
- log-slave-updates
- master-connect-retry
(and especially)
- replicate-same-server-id

Does anyone have any idea ?
Thx.

Options: ReplyQuote


Subject
Views
Written By
Posted
Setting replication options through SQL commands
2592
January 18, 2006 05:28AM


Sorry, you can't reply to this topic. It has been closed.

Content reproduced on this site is the property of the respective copyright holders. It is not reviewed in advance by Oracle and does not necessarily represent the opinion of Oracle or any other party.