REPLICATIONS MASTER-SLAVE MYSQL
Master Sever #/etc/init.d/mysqld stop (stopservice) tambahkan pada file my.cnf yang terletak pada /etc/mysql/ [mysqld] server-id=1 (id server) binlog-do-db=db(nama database) log-bin=mysql-bin innodb_flush_log_at_trx_commit=1 sync_binlog=1 #/etc/init.d/mysqld start (start service) masuk ke sql konsole mysql -u root -p masukan rootpasswd sql bikin user untuk login dari slave (slave_user) grant replication slave on *.* to 'slave_user'@'%' identified by 'slave_user'; flush privileges; use namadb; flush tables with read lock; show master status; +---------------+----------+--------------+------------------+ | File | Position | Binlog_do_db | Binlog_ignore_db | +---------------+----------+--------------+------------------+ | mysql-bin.006 | 183 | namadb | | +---------------+----------+--------------+------------------+ 1 row in set (0.00 sec) biar lebih gampang editnya bisa pake webmin...