If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

 
Go Back  dBforums > Database Server Software > MySQL > Can't open privilege tables: Can't find file: './mysql/host.frm' (errno: 13)

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old 04-30-04, 10:58
anacedent anacedent is offline
Registered User
 
Join Date: Aug 2003
Location: Where the Surf Meets the Turf @Del Mar, CA
Posts: 6,413
Can't open privilege tables: Can't find file: './mysql/host.frm' (errno: 13)

I'm a newbie MYSQL person.
Linux colxcvs001 2.4.21-9.0.3.ELsmp #1 SMP Tue Apr 20 19:49:13 EDT 2004 i686 i686 i386 GNU/Linux

I'm trying my initial installation of MYSQL mysql-standard-4.0.18-pc-linux-i686

After I invoke bin/mysqld_safe it fails

$ tail /var/log/mysqld.log
040430 7:48:42 InnoDB: Started
040430 7:48:42 Fatal error: Can't open privilege tables: Can't find file: './mysql/host.frm' (errno: 13)
040430 7:48:42 Aborting

040430 7:48:42 InnoDB: Starting shutdown...
040430 7:48:45 InnoDB: Shutdown completed
040430 7:48:45 /usr/local/mysql/bin/mysqld: Shutdown Complete

040430 07:48:45 mysqld ended
==================================================
Is there a site on the WEB where I could go research this error,
and possibly find potential solutions?
I am just rather clueless at this point in time as to what I need to do to fix it.
__________________
You can lead some folks to knowledge, but you can not make them think.
The average person thinks he's above average!
For most folks, they don't know, what they don't know.
Reply With Quote
  #2 (permalink)  
Old 04-30-04, 14:20
guelphdad guelphdad is offline
Registered User
 
Join Date: Mar 2004
Posts: 440
Do you run this as root? If you aren't, I'm guessing that the folder privileges are set wrong where the host.frm ends up. Sorry I'm running windows right now or I'd check the linux file structure to see where that folder is.

I'm trying to remember that it is in

/var/lib/mysql

but I might be wrong.

As for web sites to search, I always google error messages, there are almost always folks that have run into an error problem before.
Reply With Quote
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

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
Trackbacks are On
Pingbacks are On
Refbacks are On