??? 最近由于做一個小型的項目,用到了Mysql,遇到了一些問題,到網上google了一下,找到了一些解決的方法,希望對您有些幫助,呵呵。?
1.?????? 在安裝Mysql之后,在service里面沒有出現mysql的服務
??????? C:\mysql\bin\mysqld –install
??????? C:\mysql\bin\mysqld-nt –standalone
(不想把
mysql
作為一個服務啟動)
2.??????
當把
mysql
安裝到
c
盤意外的地方的時候,啟動
mysql
會報錯:
1067
解決方案:
you seemed have your mysql installed in windows. so this problem may becaused if you're not installing mysql in c:\mysql.
you can simply copy all files to c:\mysql? ?or
create a file call my.ini(store it in %windows%) OR my.cnf (store it in c:\) and the followingcontent should be in the file
assume you have mysql ind:\mysql
[mysqld]
#set basedir to the installationpath
basedir=d:/mysql
datadir=d:/mysql/data
note that the forward slashes (/) are being used.
posted on 2006-06-13 15:43
Java&Inter 閱讀(185)
評論(0) 編輯 收藏 所屬分類:
數據庫技術