chown -R mysql.mysql /usr/local/mysql ROUTLEY, Merrindal (MR) wrote:
>Hi all, > >I have recently downloaded mysql version 3.23.45 and I am struggling to get it to >start. > >Every time I type in ./safe_mysqld the program starts and then shuts down immediately >with the following being written to the error log: > >--------------------------------------------------------------------------- >mysqld started >/usr/local/mysql/libexec/mysqld: Can't find file: './mysql/host.frm' (errno:13) >/usr/local/mysql/libexec/mysqld: Normal Shutdown >--------------------------------------------------------------------------- > >Initially there wasn't any 'host.frm' in the mysql home directory but I found one in >the mysql/var/mysql directory. >I've tried creating a link from the mysql home directory to the host.frm in the >mysql/var/mysql directory but this makes no difference. >I've tried changing permissions on both the host.frm file and the link so that they >were read/write/execute for everybody but this makes no difference. >I am running the 'safe_mysqld' command as root. > >I have run the ./mysql_install_db command which I think has run sucessfully. I >received the following message when I ran this command. > > --------------------------------------------------------------------- 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