看板 FreeBSD 關於我們 聯絡資訊
※ 引述《xunlu (xunlu)》之銘言: : ※ 引述《appleboy46 (小惡魔)》之銘言: : : 如果在 /etc/rc.conf 底下加入 mysql_enable="YES" : : 請執行: : : /usr/local/etc/rc.d/mysql-server start : : 如果沒有: : : /usr/local/etc/rc.d/mysql-server forcestart : : http://www.freebsd.org/doc/zh_TW/books/handbook/configtuning-rcd.html : 您好 我在 沒有看到 mysql-server 這個檔案耶 : FreeBSDVM# cd /usr/local/etc/rc.d/ : FreeBSDVM# ls -al : total 12 : drwxr-xr-x 2 root wheel 512 Mar 31 00:00 . : drwxr-xr-x 5 root wheel 512 Mar 31 00:00 .. : -r-xr-xr-x 1 root wheel 5551 Sep 8 2008 apache22 : -r-xr-xr-x 1 root wheel 1731 Sep 8 2008 htcacheclean : FreeBSDVM# pwd : /usr/local/etc/rc.d : FreeBSDVM# : 不過我看資訊我的mySQ應該是有安裝阿 : FreeBSDVM# pkg_info : apache-2.2.9_5 Version 2.2.x of Apache web server with prefork MPM. : expat-2.0.1 XML 1.0 parser written in C : libiconv-1.11_1 A character set conversion library : linux_base-fc-4_13 Base set of packages needed in Linux mode (for i386/amd64) : mysql-client-6.0.6 Multithreaded SQL database (client) : mysql-scripts-6.0.6 Multithreaded SQL database (scripts) : p5-DBD-mysql60-4.006 MySQL 6.0 driver for the Perl5 Database Interface (DBI) : p5-DBI-1.60.4 The perl5 Database Interface. Required for DBD::* modules : p5-Storable-2.18 Persistency for perl data structures : perl-5.8.8_1 Practical Extraction and Report Language : FreeBSDVM# 您裝了 MySQL Client 但是沒有安裝 MySQL Server 這樣只能連線到別台 server喔 -- Google 歐趴|██████ 搜尋: ⊙所有網頁 ○中文網頁○繁體中文網頁 ○台灣 找不到和您的查詢歐趴相符的資料 您是不是要查 : 重修班 -- ※ 發信站: 批踢踢實業坊(ptt.cc) ◆ From: 115.80.198.28