Unix Technical Forum

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

This is a discussion on How can I make mysqld find the table 'mysql.host' on Fedora Core 4? within the MySQL forums, part of the Database Server Software category; --> Please forgive me if this message posts rwice to this group. (having trouble using google groups) I'm trying to ...


Go Back   Unix Technical Forum > Database Server Software > MySQL

FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 02-28-2008, 09:14 AM
tomzam@gmail.com
 
Posts: n/a
Default How can I make mysqld find the table 'mysql.host' on Fedora Core 4?

Please forgive me if this message posts rwice to this group.
(having trouble using google groups)
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
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
Forum Jump


All times are GMT. The time now is 05:51 PM.


Powered by vBulletin® Version 3.6.5
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
SEO by vBSEO 3.2.0
www.UnixAdminTalk.com