Garayed.com  

Go Back   Garayed.com > mySQL
FAQ Members List Calendar Search Today's Posts Mark Forums Read


Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old 09-24-2006, 05:25 PM
tomzam
 
Posts: n/a
Default How can I make mysqld find the table 'mysql.host' on Fedora Core 4?

I am having trouble using google groups. My apologies if this
appears multiple times
I'm trying to get mysql working on Fedora Core 4. Actually trying
to start the program mysqld without fatal errors. I posted this message
first on the linux misc group - but no luck so far. Maybe people on
this group can help me out. Sorry about posting to two groups.
The reference manual for mysql ver 4.1 is huge, it's over 1900 pages!
I've tried all day but now I have to ask for help from people more
experienced then me.
Anyway, this is what I have done: I changed ownership of the mysql
directory to my userid
ran the program mysqld without options - which did set up a few things,
but had fatal errors.
So, I tried again.
Finally I read in the manual that if one's data directory is in a
different place then usual then the data directory must be given on the
command line or in a configuration (option) file.
So,
I typed the command: /usr/libexec/mysqld -datadir=/var/lib/mysql

The output (cut and pasted below) was:

060923 19:16:02 InnoDB: Database was not shut down normally!
InnoDB: Starting crash recovery.
InnoDB: Reading tablespace information from the .ibd files...
InnoDB: Restoring possible half-written data pages from the doublewrite
InnoDB: buffer...
060923 19:16:02 InnoDB: Starting log scan based on checkpoint at
InnoDB: log sequence number 0 43634.
InnoDB: Doing recovery: scanned up to log sequence number 0 43634
060923 19:16:02 InnoDB: Flushing modified pages from the buffer
pool...
060923 19:16:02 InnoDB: Started; log sequence number 0 43634
060923 19:16:02 [ERROR] Fatal error: Can't open and lock privilege
tables: Table 'mysql.host' doesn't exist


Which brings me to the question:

How can I make mysqld find the table 'mysql.host' on Fedora Core 4?

second: Do I have to tell mysqld where the base directory is? And if
so, where would it be?

Any help appreciated!

- Tom Z

Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
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

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT. The time now is 08:41 PM.




LinkBacks Enabled by vBSEO 3.0.0 © 2007, Crawlability, Inc.