Try:
shell> chown -R root /usr/local/mysql

shell> chown -R mysql /usr/local/mysql/var

shell> chgrp -R mysql /usr/local/mysql

then:

shell> /usr/local/mysql/bin/safe_mysqld --user=mysql &
or
shell> /usr/local/mysql/bin/mysqld_safe --user=mysql &
if you are running MySQL 4.x.

Sean

----- Original Message -----
From: "Touch13" <[EMAIL PROTECTED]>
To: "gerald_clark" <[EMAIL PROTECTED]>;
<[EMAIL PROTECTED]>
Sent: Monday, December 09, 2002 10:00 AM
Subject: Re: Start up problem


> The data directory is well owned by mysql.
> In fact my problem is :
> I cannot start mysql daemon in "root" user
> with change user in line command like this :
> # safe_mysqld --user=mysql --log=/var/lib/mysql/mysql.log
>
> touch13
>
> On Mon, 09 Dec 2002 09:28:30 -0600
> gerald_clark <[EMAIL PROTECTED]> wrote:
>
> > If the data directory is not owned  by mysql, mysql will not be able
> > to create a log file.
> > Make  sure mysql's data directory, and every directory and file
> > beneath it is owned my mysql.
> >
> > Touch13 wrote:
> >
> > >On Fri, 6 Dec 2002 10:18:12 +0100
> > >"David Bordas" <[EMAIL PROTECTED]> wrote:
> > >
> > >
> > >
> > >>>>Have a look to the mysql error log to see if you can find your
> > >problem>>>
> > >>>>
> > >>...
> > >>
> > >>
> > >>>>This file should be in /usr/local/mysql/data
> > >>>>
> > >>>>
> > >>>>
> > >>>I have no log file, the only file created is <serveur name>.err
> > >with the>>
> > >>>
> > >>number of the thread who crash.
> > >>
> > >>
> > >>>touch13
> > >>>
> > >>>
> > >>>
> > >>This file IS the mysql error log.
> > >>On one of mine i can see this for example :
> > >>021128 10:48:21  mysqld ended
> > >>
> > >>021128 14:12:42  mysqld started
> > >>/usr/local/mysql-3.23.53a/bin/mysqld: ready for connections
> > >>
> > >>So if mysql don't start, there'll "normally" be something there .
> > >>
> > >>David
> > >>
> > >>
> > >
> > >I repeat, i have no error log because mysql cannot start.
> > >i try this command under "root":
> > >safe_mysqld --user=mysql --log=/var/lib/mysql/mysql.log
> > >and this file is always empty...
> > >
> > >except if i cannot look in good file ;)
> > >
> > >touch13
> > >
> > >
> > >>-------------------------------------------------------------------
> > >-->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
> > >
> > >
> > >
> > >
> >
> >
> >
>
> ---------------------------------------------------------------------
> 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