I tried restoring MySQL backup several time but unfortunately it gets failed by some or the new reason.
I have 2 host Master & Slave with below details.
Server1_Master
os-centos6.7
mysql- 5.6.28-2.el6
Server2_Slave
os- centos6.6
mysql- 5.5.41
Engine: innodb (on both host)
Below are the respected step used by me.
Master Backup
mysqldump -uroot -p --skip-lock-tables --single-transaction --flush-logs --hex-blob --master-data=2 -A > ~/dump.sql
Restoring mysql on slave
mysql -u root -p < /location/dump.sql
CHANGE MASTER TO MASTER_HOST='<>',MASTER_USER='replicant',MASTER_PASSWORD='<>', MASTER_LOG_FILE='<>', MASTER_LOG_POS=<>;
START SLAVE;
Now the new error which we am getting after server hrs of restoration is below
"ERROR 1449 (HY000) at line 150536: The user specified as a definer ('lipl_ga_app'@'%') does not exist "
Please let me know the best way to start new replication.