mysql安装问题

[QUOTE]最初由 GoldenMouse 发布
[B]./safe_mysqld -u root & [/B][/QUOTE]

兄弟,对不住了,我先引用一下!      
./safe_mysqld -u root &
能启动了
但不能加到自动里
后来把support-files/mysql.server拷贝到init.d/mysqld
然后加到rc3.d里
系统重起的时候还是不能启动?      
你是怎么加到rc3.d中的,应该以S开头,如S95mysqld
其中数字可以变,其他不能变。      
这部分我是对的
我用的是S99mysqld

看错误文件是:
mysqld started
/usr/local/mysql/libexec/mysqld: Can't create/write to file '/usr/local/mysql/var/home.pid' (Error code: 13)
/usr/local/mysql/libexec/mysqld: Can't find file: './mysql/host.frm'
/usr/local/mysql/libexec/mysqld: Error on delete of '/usr/local/mysql/var/home.pid' (Error code: 13)
mysqld ended

这是什么原因呀?      
Add "/usr/local/sever/mysql/bin/safe_mysqld -u root &" to your "rc.sysinit" file.      
[QUOTE]最初由 lphy 发布
[B]这部分我是对的
我用的是S99mysqld

看错误文件是:
mysqld started
/usr/local/mysql/libexec/mysqld: Can't create/write to file '/usr/local/mysql/var/home.pid' (Error code: 13)
/usr/local/mysql/libexec/mysqld: Can't find file: './mysql/host.frm'
/usr/local/mysql/libexec/mysqld: Error on delete of '/usr/local/mysql/var/home.pid' (Error code: 13)
mysqld ended

这是什么原因呀? [/B][/QUOTE]
全县不够
把这个目录的属主改成mysqld的运行用户