LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 01-09-2014, 08:31 PM   #1
byran cheung
Member
 
Registered: Sep 2013
Posts: 321

Rep: Reputation: Disabled
Can't find file mysql/plugin.frm” when starting up MySQL


When I start my MySQL server in my centos, I get this error:

/usr/libexec/mysqld: Can't find file: './mysql/plugin.frm' (errno: 13)
[ERROR] Can't open the mysql.plugin table. Please run mysql_upgrade to create it.
InnoDB: The error means mysqld does not have the access rights to
InnoDB: the directory.
InnoDB: File name ./ibdata1
InnoDB: File operation call: 'create'.
InnoDB: Cannot continue operation.

I have run mysql_upgrade to rebuild it, it works to rebuild. Before I did it, I removed and installed MySQL. However, when I tried to re-start, I get the same error. I sure this is not a permission problem, as all files and directories are created by the mysql user.

Could you advise how to fix this error? thanks
 
Old 01-11-2014, 05:06 AM   #2
l0p3n
LQ Newbie
 
Registered: Jul 2013
Distribution: Ubuntu
Posts: 27

Rep: Reputation: Disabled
Quote:
Originally Posted by byran cheung View Post
When I start my MySQL server in my centos, I get this error:

/usr/libexec/mysqld: Can't find file: './mysql/plugin.frm' (errno: 13)
[ERROR] Can't open the mysql.plugin table. Please run mysql_upgrade to create it.
InnoDB: The error means mysqld does not have the access rights to
InnoDB: the directory.
InnoDB: File name ./ibdata1
InnoDB: File operation call: 'create'.
InnoDB: Cannot continue operation.

I have run mysql_upgrade to rebuild it, it works to rebuild. Before I did it, I removed and installed MySQL. However, when I tried to re-start, I get the same error. I sure this is not a permission problem, as all files and directories are created by the mysql user.

Could you advise how to fix this error? thanks
I think I found a similar issue in this thread http://www.linuxquestions.org/questi...issues-789786/. I hope it is to any help.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Mysql help needed: Can't find file: './mysql/host.frm' (errno: 13) rs232 Linux - Software 3 10-26-2010 05:43 AM
mysql host.frm xushi Slackware 6 05-19-2005 08:54 AM
can't find host.frm with MySQL wheelie_2000 Linux - Software 3 05-06-2004 05:44 PM
Setting up mysql without user.frm?!?! silversky Slackware 1 02-04-2004 03:01 PM
Invisible mysql .frm file p_nanda2002 Linux - Software 0 07-23-2003 02:16 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 04:52 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration