MySQL數(shù)據(jù)庫是一個開放源碼的小型關(guān)聯(lián)式數(shù)據(jù)庫管理系統(tǒng),開發(fā)者為瑞典MySQL AB公司。MySQL被廣泛地應(yīng)用在Internet上的中小型網(wǎng)站中。由于其體積小、速度快、總體擁有成本低,尤其是開放源碼這一特點(diǎn),許多中小型網(wǎng)站為了降低網(wǎng)站總體擁有成本而選擇了MySQL作為網(wǎng)站數(shù)據(jù)庫。
1.在 本地計算機(jī) 無法啟動mysql服務(wù) 錯誤1067:進(jìn)程意外中止。
經(jīng)過多方求教,得解決方法如下:查找系統(tǒng)(后來驗(yàn)證應(yīng)該為windows目錄)目錄下的my.ini文件,編輯內(nèi)容(如果沒有該文件,則新建一個),至少包含basedir,datadir這兩個基本的配置。
[mysqld]
# set basedir to installation path, e.g., c:/mysql
# 設(shè)置為MYSQL的安裝目錄
basedir=D:/www/WebServer/MySQL
# set datadir to location of data directory,
# e.g., c:/mysql/data or d:/mydata/data
# 設(shè)置為MYSQL的數(shù)據(jù)目錄
datadir=D:/www/WebServer/MySQL/data
另外,要主意
[WinMySQLadmin]
Server=D:/www/WebServer/MySQL/bin/mysqld-nt.exe
user=root
password=xxxxxxxx
#以上是設(shè)置WinMySQLadmin的配置
[Client]
user=root
password=xxxxxxxx
2.Starting MySQL.Manager of pid-file quit without updating fi[失敗]