Chinaunix

标题: 我的机器是redhat linux 我该怎么做呢?? [打印本页]

作者: 阿僚    时间: 2003-07-16 12:27
标题: 我的机器是redhat linux 我该怎么做呢??
You may wish to start MySQL automatically at boottime, copy /usr/local/mysql/share/mysql/mysql.server to /etc/init.d/ for SuSE, for Redhat it is /etc/rc.d/init.d instead of /etc/init.d/. Further you need to add symbolic links to /etc/init.d/rc3.d for SuSE and /etc/rc.d/rc3.d for Redhat.

The following example is for SuSE Linux and should be easily changed for Redhat and other Linux distributions and commercial Unixes.

cp /usr/local/mysql/share/mysql/mysql.server /etc/init.d/
ln -s /etc/init.d/mysql.server /etc/init.d/rc3.d/S20mysql
ln -s /etc/init.d/mysql.server /etc/init.d/rc3.d/k08mysql




欢迎光临 Chinaunix (http://bbs.chinaunix.net/) Powered by Discuz! X3.2