以前一直用Mysql4.0,后來(lái)因?yàn)樾枨蟀l(fā)現(xiàn)不能使用嵌套查詢.于是升級(jí)到4.1.1.
在執(zhí)行安裝向?qū)У淖詈笠徊?當(dāng)在啟動(dòng)服務(wù)的時(shí)候報(bào)錯(cuò):
could not start the service MySql4. Error: 0
到網(wǎng)上搜索一下,發(fā)現(xiàn)此貼
http://forums.mysql.com/read.php?11,60581,69492
其中講到:
First of all you have to remove the service, if it exists. From DOS prompt:
sc delete "name_service"
Then you must remove the log files from mysql/data directory:
*ib_logfile0
*ib_logfile1
*ibdata1
照著做,于是問(wèn)題解決!!!
升級(jí)后的中文問(wèn)題???
一定要相應(yīng)升級(jí)驅(qū)動(dòng)程序,我現(xiàn)在用的是:mysql-connector-java-3.1.12.zip
在執(zhí)行安裝向?qū)У臅r(shí)候,
一定要選擇詳細(xì)配置detailed configuration
在選擇字符集界面的時(shí)候選中想要的字符集
我原先是選擇標(biāo)準(zhǔn)配置standard configuration
后期修改my.ini 重啟n次服務(wù)和系統(tǒng)都不行!!!