"Weber, Jeff" wrote:
>
> Mysql is hanging when started on my Linux box (Red Hat Linux release 6.2
> (Zoot)
> Kernel 2.2.14-5.0 on an i686 -- mysqld, Version: 3.23.21), so I thought I
> would reinstall mysql_install_db. This hangs too, see below...
>
> [root@myserver mysql]# mysql_install_db
> Creating func table
> Creating tables_priv table
> Creating columns_priv table
>
> Server doesn't come back after this, I have to kill -9 to stop it. Anyone
> have any idea why the install would hang this quickly?
>
> Thanks,
> Jeff
>
You should have run
mysql_install_db --user=mysql
Now the database directory and all the files are probably owned by root,
and mysqld can't read the directory.
chown -R mysql /var/mysql/data
replacing "/var/mysql/data" with actual mysql database directory.
---------------------------------------------------------------------
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