MySQL Forums
Forum List  »  Newbie

Cannot restart mysql server.
Posted by: arun jayapal
Date: August 26, 2009 08:02AM


We have installed and setup a mysql server on a centos machine. It was working fine all along. Then we wanted the centos machine to boot to shell by default (earlier we booted into the gui). After this process (wherein we restarted the machine) the mysql service itself did not start.

I've tried doing the following:
/etc/init.d/mysqld start
It reports a failure to start. Went and read the logs (cat /var/log/mysqld.log) it reports something like the following:
090826 19:17:25 mysqld started
090826 19:17:25 [Warning] options --log-slow-admin-statements and --log-queries-not-using-indexes have no effect if --log-slow-queries is not set
090826 19:17:26 InnoDB: Operating system error number 13 in a file operation.
InnoDB: The error means mysqld does not have the access rights to
InnoDB: the directory.
InnoDB: File name /mysql/Data/ibdata1
InnoDB: File operation call: 'create'.
InnoDB: Cannot continue operation.
090826 19:17:26 mysqld ended

How do I troubleshoot this?

Options: ReplyQuote

Written By
Cannot restart mysql server.
August 26, 2009 08:02AM

Sorry, you can't reply to this topic. It has been closed.

Content reproduced on this site is the property of the respective copyright holders. It is not reviewed in advance by Oracle and does not necessarily represent the opinion of Oracle or any other party.