As root:
chown -R mysql /usr/local/mysql
Fernando da Motta Hildebrand wrote:
> I can´t start Mysql (I use Slack and compiled mysql). I´ve
> followed all instructions in INSTALL text, and i´ve got this in the .err
> file:
>
>
>
> 010914 16:19:02 mysqld started
> 010914 16:19:02 /usr/local/mysql/libexec/mysqld: Can't create/write to
> file '/usr/local/mysql/var/darkstar.pid' (Errcode: 13)
> 010914 16:19:02 /usr/local/mysql/libexec/mysqld: Can't find file:
> './mysql/host.frm' (errno: 13)
> 010914 16:19:02 /usr/local/mysql/libexec/mysqld: Error on delete of
> '/usr/local/mysql/var/darkstar.pid' (Errcode: 13)
> 010914 16:19:02 mysqld ended
>
> 010914 16:19:26 mysqld started
> 010914 16:19:26 /usr/local/mysql/libexec/mysqld: Can't create/write to
> file '/usr/local/mysql/var/darkstar.pid' (Errcode: 13)
> 010914 16:19:26 /usr/local/mysql/libexec/mysqld: Can't find file:
> './mysql/host.frm' (errno: 13)
> 010914 16:19:26 /usr/local/mysql/libexec/mysqld: Error on delete of
> '/usr/local/mysql/var/darkstar.pid' (Errcode: 13)
> 010914 16:19:26 mysqld ended
>
> 010914 16:27:59 mysqld started
> /usr/local/mysql/libexec/mysqld: File './darkstar-bin.1' not found
> (Errcode: 13)
> 010914 16:27:59 Could not use darkstar-bin for logging (error 13)
> 010914 16:27:59 /usr/local/mysql/libexec/mysqld: Can't create/write to
> file '/usr/local/mysql/var/darkstar.pid' (Errcode: 13)
> 010914 16:27:59 /usr/local/mysql/libexec/mysqld: Can't find file:
> './mysql/host.frm' (errno: 13)
> 010914 16:27:59 /usr/local/mysql/libexec/mysqld: Error on delete of
> '/usr/local/mysql/var/darkstar.pid' (Errcode: 13)
> 010914 16:27:59 mysqld ended
>
> 010914 16:30:12 mysqld started
> /usr/local/mysql/libexec/mysqld Ver 3.23.42 for pc-linux-gnu on i686
> Copyright (C) 2000 MySQL AB & MySQL Finland AB, by Monty and others
> This software comes with ABSOLUTELY NO WARRANTY. This is free software,
> and you are welcome to modify and redistribute it under the GPL license
>
> Someone help please?????
>
> thanks!!!
>
>
> ---------------------------------------------------------------------
> 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
--
Gerald L. Clark
[EMAIL PROTECTED]
---------------------------------------------------------------------
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