看板 FreeBSD 關於我們 聯絡資訊
※ 引述《mflo (殞浮流)》之銘言: : ※ 引述《denniswave (tsmc.168rent.com)》之銘言: : : PO 一下 rc.conf 的設定吧。 : : 也 PO 一下 /usr/local/etc/rc.d/mysql-server 的內容 : : 順便看一下 error log 有沒有問題。 : rc.conf: : inetd_enable="YES" : sshd_enable="YES" : lighttpd_enable="YES" : fcgiphp_enable="YES" : fcgiphp_port="8023" : fcgiphp_socket="" : pureftpd_enable="YES" 沒有加入 mysql_enable="YES" : mysql-server: : # : # $FreeBSD: ports/databases/mysql51-server/files/mysql-server.sh.in,v 1.6 : 2008/07/30 06:11:16 ale Exp $ : # : # PROVIDE: mysql : # REQUIRE: LOGIN : # KEYWORD: shutdown : # : # Add the following line to /etc/rc.conf to enable mysql: : # mysql_enable (bool): Set to "NO" by default. : # Set it to "YES" to enable MySQL. : # mysql_limits (bool): Set to "NO" by default. : # Set it to yes to run `limits -e -U mysql` : # just before mysql starts. : # mysql_dbdir (str): Default to "/var/db/mysql" : # Base database directory. : # mysql_args (str): Custom additional arguments to be passed Set it to "YES" to enable MySQL 文件都寫的很清楚,你沒有加上 mysql_enable 所以開機不會啟動,command line 鍵入 /usr/local/etc/rc.d/mysql-server start 是不會 work 的 需要鍵入 /usr/local/etc/rc.d/mysql-server forcestart 這樣就可以了 -- Appleboy Blog: http://blog.Wu-Boy.com 電腦技術、美食介紹、旅遊資訊 -- ※ 發信站: 批踢踢實業坊(ptt.cc) ◆ From: 140.123.107.202