×
INTELLIGENT WORK FORUMS
FOR COMPUTER PROFESSIONALS

Contact US

Log In

Come Join Us!

Are you a
Computer / IT professional?
Join Tek-Tips Forums!
  • Talk With Other Members
  • Be Notified Of Responses
    To Your Posts
  • Keyword Search
  • One-Click Access To Your
    Favorite Forums
  • Automated Signatures
    On Your Posts
  • Best Of All, It's Free!

*Tek-Tips's functionality depends on members receiving e-mail. By joining you are opting in to receive e-mail.

Posting Guidelines

Promoting, selling, recruiting, coursework and thesis posting is forbidden.

Students Click Here

missing host.frm file

missing host.frm file

missing host.frm file

(OP)
I have installed everything with Red Hat Linux 7, which includes mysql-3.23.24-1.  I continually get the error mysqld: Can't find file: './mysql/host.frm' (errno: 13) in my 'hostname'.err file each time I attempt to start mysqld.  I am able to run BINDIR/safe_mysqld as either root or mysql (a user I created that has the same privileges as root).

I have already attempted everything the documentation stated.  I have dropped and recreated the mysql database as root with the ./bin/mysql_install_db script.  I then would "flush privileges" to be certain that everything was updated.  I have added passwords to root and/or mysql and that did not resolve the problem.  I have used the BINDIR/msyql_fix_privilege_tables script without errors (or should I say errors that are able to be "ignored" according to the script).  

RE: missing host.frm file

It works for me when I :
chmod 777 directory 'mysql'
chmod 666 all files in the directory included host.frm of course.

 

RE: missing host.frm file

I've looked for 3 days for this fix.  Thanks.  Does the directory have to be this wide open?

Red Flag This Post

Please let us know here why this post is inappropriate. Reasons such as off-topic, duplicates, flames, illegal, vulgar, or students posting their homework.

Red Flag Submitted

Thank you for helping keep Tek-Tips Forums free from inappropriate posts.
The Tek-Tips staff will check this out and take appropriate action.

Reply To This Thread

Posting in the Tek-Tips forums is a member-only feature.

Click Here to join Tek-Tips and talk with other members! Already a Member? Login


Close Box

Join Tek-Tips® Today!

Join your peers on the Internet's largest technical computer professional community.
It's easy to join and it's free.

Here's Why Members Love Tek-Tips Forums:

Register now while it's still free!

Already a member? Close this window and log in.

Join Us             Close