mysql怎样才能实现开机自启动

源码安装的mysql,设置开机自启动,
# who -r
        rc3 run .....

# cp /usr/local/share/mysql/mysql.server  /etc/init.d/mysqld
# cd /etc/rc3.d
# ln -s ../init.d/mysqld s99mysql
# cd /etc/rc0.d
# ln -s ../init.d/mysqld k01mysql

重新启动计算机
# mysql
   command not found
# cd /usr/local/bin
# ./mysql
   can not connect to local mysql server through socket '/tmp/mysql.sock'

怎样才能实现开机自启动??

作者: nullbert   发布时间: 2011-05-25

chkconfig mysqld on

作者: 南极雨   发布时间: 2011-05-25

我的系统是solaris8,
没有chkconfig命令

作者: nullbert   发布时间: 2011-05-25

/etc/rc.local. 没用过你那系统,不晓得有没有这个文件

作者: zfjoy520   发布时间: 2011-05-25