linux下啟動MYSQL服務器以及配置自啟動命令 /usr/local/mysql/bin/mysqld_safe --user=mysql& 注意MYSQL安裝目錄 www.2cto.com 配置自啟動 通過vi /etc/rc.local 常見命令 #!/bin/sh # # This script will be executed *after* all the other init scripts. # You can put your own initialization stuff in here if you don't # want to do the full Sys V style init stuff. touch /var/lock/subsys/local /usr/local/apache/bin/apachectl start /usr/local/mysql/bin/mysqld_safe --user=mysql & mount -t nfs 192.168.0.85:/var/www/html/cache /var/www/html/cache