Hello guys.
I want to srtup a mysql replication. I have started reading the fine manuals.
Has anyone done so ? Maybe someone can also share some configurations and tips if so ?
Thanks !
mysql replication
mysql replication
Hello IT.
Phone : Blah Blah ....
Have you tried turning it on and off again ?
Phone : Blah Blah ....
....
I'm sorry, are you from the Past ?!
http://www.youtube.com/watch?v=-E4fm4Wqego
Phone : Blah Blah ....
Have you tried turning it on and off again ?
Phone : Blah Blah ....
....
I'm sorry, are you from the Past ?!
http://www.youtube.com/watch?v=-E4fm4Wqego
Re: mysql replication
Seems everything is ok with the master.
But whatever I do the slave wont run and I keep seeing this error :
Slave SQL Thread not running!
Slave IO Thread not running!
Any ideas ?
But whatever I do the slave wont run and I keep seeing this error :
Slave SQL Thread not running!
Slave IO Thread not running!
Any ideas ?
Hello IT.
Phone : Blah Blah ....
Have you tried turning it on and off again ?
Phone : Blah Blah ....
....
I'm sorry, are you from the Past ?!
http://www.youtube.com/watch?v=-E4fm4Wqego
Phone : Blah Blah ....
Have you tried turning it on and off again ?
Phone : Blah Blah ....
....
I'm sorry, are you from the Past ?!
http://www.youtube.com/watch?v=-E4fm4Wqego
- mikeshinn
- Atomicorp Staff - Site Admin
- Posts: 4155
- Joined: Thu Feb 07, 2008 7:49 pm
- Location: Chantilly, VA
Re: mysql replication
Sounds like you make not have configured the slave correctly. How did you setup replication?
Michael Shinn
Atomicorp - Security For Everyone
Atomicorp - Security For Everyone
Re: mysql replication
Hi Mike !mikeshinn wrote:Sounds like you make not have configured the slave correctly. How did you setup replication?
In the my.cnf I have
Code: Select all
server-id=2
master-host = hostname
master-user = myuser
master-password = thepass....
master-port = 3306
relay-log = mysql-bin
log-bin=mysql-bin
log-error=mysql-bin.err
report-host=host_vm
Code: Select all
CHANGE MASTER TO
MASTER_HOST='host',
MASTER_USER='user',
MASTER_PASSWORD='pass',
MASTER_PORT=3306,
MASTER_LOG_FILE='master2-bin.001',
MASTER_LOG_POS=4,
MASTER_CONNECT_RETRY=10;
Hello IT.
Phone : Blah Blah ....
Have you tried turning it on and off again ?
Phone : Blah Blah ....
....
I'm sorry, are you from the Past ?!
http://www.youtube.com/watch?v=-E4fm4Wqego
Phone : Blah Blah ....
Have you tried turning it on and off again ?
Phone : Blah Blah ....
....
I'm sorry, are you from the Past ?!
http://www.youtube.com/watch?v=-E4fm4Wqego