Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Chris Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Cant find file './mysql/host.frm' (errno: 13) Help :(

Status
Not open for further replies.

imryn

Programmer
Dec 2, 2002
75
US
Hi Folks,

Here my issue. I have had this DB running now for about 6 Months. I reboot it last nite and now the mysql db won't start. my log says:
" /usr/libexec/mysqld: Can't find file: './mysql/host.frm'
(errno:13) "

everything I have been researching leads back to file permissions. And I already chmod on them... any ideas how to fix this

Ryam
 
okay when you say shell, do you mean I should type in /bin/sh then type "setenforce 0" ?

 
I believe he means mysql shell. The one you get when you run mysql binary...looks like this

Welcome to the MySQL monitor. Commands end with ; or \g.
Your MySQL connection id is 8 to server version: 4.1.10a-Debian_2-log

Type 'help;' or '\h' for help. Type '\c' to clear the buffer.

mysql>
 
That is my issue... I can't connect to mysql b/c of the error I am receiving. That is what I am trying to figure out is to make it see the host.frm file. I have done a chmod on all the directories, and moved the file to other locations too.

Ryan
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top