Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

MySql replication error

Status
Not open for further replies.

lordblood

Programmer
Nov 9, 2001
35
US
I've setup my my.cnf file on the slave as:

[mysql.server]
user=mysql
basedir=/var/lib
socket=/var/lib/mysql/mysql.sock
server-id=2
master-host=xxx.xxxxx.com
master-user=replicate
master-password=xxxxx

Show slave status indicates "NO" under Slave_running, and I get
mysql> slave start;
ERROR 1200: The server is not configured as slave, fix in config file or
with CHANGE MASTER TO

Server has been restarted.

Can anyone help correct this problem or know what is wrong?
Any help would be greatly appreciated. If you need more info please let me know.

Thanks
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top