雖然安裝MySQL數據庫的文章很多但是我看後感覺對於初學者來說都有一定的難度所以我寫個簡單的方法供大家參考如果有什麼不對的地方請指教
var isMinNS = (navigatorappNameindexOf(Netscape) >= && parseFloat(navigatorappVersion) >= ) ? : ; var isMinIE = (do*****entall) ? : ; var isMinIE = (isMinIE && navigatorappVersionindexOf()) >= ? : ; //var FONTSIZE= var fs=small; if (==) {fs=big;} if (isMinIE) do*****entwrite(); if (isMinNS) do*****entwrite(); 先下載mysql XXXtargz
解壓 tar zxvf mysqltargz
cd mysql
沒定安裝目錄/configure prefix=/你的路徑/mysql
make
make install
cd scripts
/mysql_install_db
cd /usr/local/mysql/share/mysql/
chmod mysqlserver
cp /usr/local/mysql/scripts/mysqlserver /usr/local/mysql/bin
/mysqlserver start
用Kwrite打開 /etc/rcd/rclocal 這個文件加入下面這行以便開機的時候自動執行MySQL
/usr/local/mysql/share/mysql/mysqlserver start
From:http://tw.wingwit.com/Article/program/MySQL/201311/29592.html