Hi
I have been following the tutorial [URL=“http://www.percona.com/doc/percona-xtrabackup/howtos/setting_up_replication.html”]http://www.percona.com/doc/percona-xtrabackup/howtos/setting_up_replication.html[/URL=“http://www.percona.com/doc/percona-xtrabackup/howtos/setting_up_replication.html”] to set up database replication. I am running two centos 5 vm’s with Percona-Server-server/client 51.
my.cnf:
[mysqld]
datadir = /var/lib/mysql
server-id = 2
log-bin = /var/lib/mysql/mysql-bin.log
max_binlog_size = 104857600
Everything works fine up until the point I replace the slave mysql dir with the snapshot of the masters after which mysql won't start. All my log is showing me is:
130513 09:54:13 mysqld_safe Starting mysqld daemon with databases from /var/lib/mysql
130513 09:54:13 mysqld_safe mysqld from pid file /var/lib/mysql/vagrant-slave.pid ended
If I swap back to the slaves original mysql dir mysql starts fine.
Any help greatly appreciated
C