John,

> I'm trying to install MySQL 3.23 on a RedHat Linux Version 8.0 box
> using RPMs. The install seems to go well, but the log file
> contains:

> mysqld: Can't find file: './mysql/host.frm'

> From the docs, I understand this happens because I haven't set up
> the grant tables, but how can I do that if I can't start the
> database? Seems like a Catch-22 situation!

All you have to do is set up the grant tables. You don't need a
running MySQL server for this. You can find details here:

http://www.mysql.com/doc/en/Post-installation.html

If you just want to see your MySQL server running, you can start it
like this:

mysqld --skip-grant-tables &

But be warned. This is VERY insecure. Everyone will have access to
your server without username and password. You can try yourself:

mysql

should give you an unrestricted mysql> prompt (i.e. you can do
whatever you want; drop databases, create tables, etc.).

Regards,
--
  Stefan Hinz <[EMAIL PROTECTED]>
  iConnect GmbH <http://iConnect.de>
  Heesestr. 6, 12169 Berlin (Germany)
  Telefon: +49 30 7970948-0  Fax: +49 30 7970948-3

[filter fodder: sql, mysql, query]


---------------------------------------------------------------------
Before posting, please check:
   http://www.mysql.com/manual.php   (the manual)
   http://lists.mysql.com/           (the list archive)

To request this thread, e-mail <[EMAIL PROTECTED]>
To unsubscribe, e-mail <[EMAIL PROTECTED]>
Trouble unsubscribing? Try: http://lists.mysql.com/php/unsubscribe.php

Reply via email to