Hi,

run the safe_mysqld as mysql and not as root. Remove the directories

" rm -rf /var/lib/mysql "

and create it again as root and then

"chown -R mysql.mysql /var/lib/mysql"

        then as mysql run 

"mysql_install_db"

        and again as mysql run 

"safe_mysqld"

Bye.    


On Wed, 30 Oct 2002, Jason Thiesse wrote:

> For the life of me I can not get mySQL server to start.
> 
> Background:
> System: Red Hat 8.0
> mySQL verion: whatever shipped with 8.0
> 
> I think I have read the mysql.com documentation enough to determine either 
> a. I'm clueless b. I'm clueless or c. all of the above.
> 
> I have ran mysql_install_db, appears to work as expected.
> 
> When I run safe_mysqld & I get the following:
> 
> root@thunderball mysql]# Starting mysqld daemon with databases from 
> /var/lib/mysql
> 021028 17:15:16 mysqld ended
> 
> The error messages in the log read as following:
> 021028 17:15:16 mysqld started
> 021028 17:15:16 /usr/libexec/mysqld: Can't find file: './mysql/host.frm' 
> (errno: 13)
> 021028 17:15:16 mysqld ended
> 
> Even though host.frm is at /var/lib/mysql/mysql/host.frm
> 
> Here is my "my.cnf" file:
> 
> ysqld]
> datadir=/var/lib/mysql
> socket=/var/lib/mysql/mysql.sock
> skip-innodb
> skip-locking
> 
> [mysql.server]
> user=mysql
> basedir=/var/lib
> 
> [safe_mysqld]
> err-log=/var/log/mysqld.log
> pid-file=/var/run/mysqld/mysqld.pid
> 
> Thanks ahead of time for any help.
> 
> 
> 
> _________________________________________________________________
> Broadband? Dial-up? Get reliable MSN Internet Access. 
> http://resourcecenter.msn.com/access/plans/default.asp
> 
> 
> ---------------------------------------------------------------------
> 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