I have a running replication, but I tried running replication on different datadir, but I’ve got
/opt/percona-5.5.62-38.14-ssl101/bin/mysqld: File ‘/var/lib/mysql/data/mysql-bin.000045’ not found (Errcode: 2)
201215 14:56:42 [ERROR] Failed to open log (file ‘/var/lib/mysql/data/mysql-bin.000045’, errno 2)
even though I have changed datadir, innodb_data_home_dir, relay_log, relay_log_index, log_bin, log_bin_index to its new values.
Any ideas why?
Is it even possible to run replica on different data dir?