check the ownership of the mysql directory and the files within. They should be the
same owner/group as your mysql server.

Yuriy Salimovskyy wrote:

> Dear sirs,
>
> I'm running MySQL server on local machine (AMD Duron 650, 128 RAM, Linux
> RedHat 7.1, MySQL 3.23.36) and have following problem:
>
> after running SAFE_MYSQLD daemon starts, but ends almost immediately
> log is as follows:
>         011126 16:44:08  mysqld started
>         011126 16:44:14  /usr/libexec/mysqld: Can't find file: './mysql/host.frm'
> (errno: 13)
>         011126 16:44:14  mysqld ended
> Still sometimes I can start daemon with applying --no-defaults, but cannot
> connect to server! System says "cannot  through socket
> /var/lib/mysql/mysql.sock " In that case log is:
>
>         011126 16:39:25  mysqld started
>         /usr/libexec/mysqld: option requires an argument -- h
>         /usr/libexec/mysqld  Ver 3.23.36 for redhat-linux-gnu on i386
>
>         Starts the MySQL server
>
>         Usage: /usr/libexec/mysqld [OPTIONS]
>
>         basedir:     /usr/
>         datadir:     /var/lib/mysql/
>         tmpdir:      /tmp/
>         language:    /usr/share/mysql/english/
>         pid file:    /var/run/mysqld/mysqld.pid
>         TCP port:    3306
>         Unix socket: /var/lib/mysql/mysql.sock
>
>         system locking is not in use
>
>         011126 16:39:25  mysqld ended
>
> And sometimes I cannot evev start server with that parameter - have no idea
> why.
>
> I'd be thankful if you could tell me how can I deal with that to make
> everything work.
> --
>
> Sincerely,
> Yuriy "Yurr" Salimovskyy
> ~~~~~~~~~~~~~~~~~~~~~~~
> MSN:[EMAIL PROTECTED]
> http://yurr.20m.com/
> mailto:[EMAIL PROTECTED]
> ~~~~~~~~~~~~~~~~~~~~~~~
> 'what we do in life echoes in eternity'
>
> ---------------------------------------------------------------------
> 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


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