http://www.howtoforge.com/mysql_database_replication
if uo have an error after / fini9sh installation using thie replication try this :
error 1 =
>LOAD DATA FROM MASTER;
Query OK, 0 rows affected, 1 warning (0.12 sec)
>
try to run this :
mysql> GRANT RELOAD on *.* to repl@'%' identified by 'your_password';
OR
mysql> GRANT SUPER on *.* to repl@'%' identified by 'your_password';
Reference : http://www.linuxismybff.com/howto/mysql/mysql-basic-replication-setup/
if you still have this warning error try to run this :
mysql -u root -p
Enter password:
SLAVE STOP;
CHANGE MASTER TO MASTER_HOST='192.168.0.100', MASTER_USER='slave_user', MASTER_PASSWORD='
START SLAVE;
quit;
No comments:
Post a Comment