MySQL Daemon failed to start

Posted by T. Brian Jones on Server Fault See other posts from Server Fault or by T. Brian Jones
Published on 2011-10-04T19:27:04Z Indexed on 2012/09/14 21:40 UTC
Read the original article Hit count: 314

Filed under:
|

THE SETUP

I'm running Linux CentOS on an Amazon EC2 instance.

The MySQL data files are on an EBS Drive mounted at /data/ ( symlink - /var/lib/mysql >> /data/mysql ).

Everything works fine in this setup.

THE PROBLEM

I'm trying to move everything from this EBS drive to a new drive. I umounted the /data/ drive, and mounted it at /data2/. Then I mounted the new drive at /data/ and copied everything over to it from /data2/. Everything on the system works great, except MySQL. Every time I try to start the MySQL daemon ( /etc/init.d/mysqld start ) I get a MySQL Daemon failed to start error.

© Server Fault or respective owner

Related posts about mysql

Related posts about linux