J.A.,

>> > Can't find file: './mysql/host.frm' (errno: 13)
>> > 030211 16:26:51  mysqld ended

>> Did you run the mysql_install_db script??

> yes, i ran everything again

I bet my b* you didn't, or maybe something went wrong when running it.

If mysqld cannot find host.frm, this means the grant tables aren't set
up. The grant tables are in a special database called "mysql", and the
purpose of the script is to install them. Check if the database and
its tables are there, usually under /var/lib/mysql/. Then check if the
file permissions are okay, this should be something like 700 for
mysql:daemon for all subdirectories (including the mysql subdir).

If you cannot get the server to start at all, try this:

1. CD into /usr/local/mysql/bin/
2. Start mysqld this way: mysqld --skip-grant-tables

If this starts mysqld successfully, you can be sure it's a problem
with your grant tables. You should NEVER use mysqld this way in an
unsecure environment, this is strictly for test purposes. Everybody
will be able to connect to your server and perform everything on it
when mysqld has been started with this option.

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


---------------------------------------------------------------------
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