In this blog we are going to share my recent experience with an issue which we faced during migration between two Ubuntu servers.
The activity was pretty simple, the client had bought a new machine with enhanced memory and faster disk, so the data has to be transferred to the new server and live MySQL replication has to be configured between the old and the new server.
For the hot and live data transfer we used xtrabackup’s stream method, the data transfer happened smoothly without any issue.
Everything was set and we had applied the log and followed the normal procedure to change the ownership of datadir to “mysql” and all the entries in the my.cnf were double checked.
When we intended to start mysql, the service didn’t come up instead we had a weird error as below.
MySQL Error:
——————
2016-08-31 22:35:27 9938 [ERROR] InnoDB: ./ibdata1 can't be opened in …[Read more]