99久久99久久精品免观看,国产精品久久久久国产精品,国产黄色录像视频,免费的黄色毛片,国产一区精品普通话对白,色妞妞成人在线观看,最新aⅴ福利在线观看免费

綠色資源網(wǎng):您身邊最放心的安全下載站! 最新軟件|熱門(mén)排行|軟件分類(lèi)|軟件專(zhuān)題|論壇轉(zhuǎn)帖|廠商大全

綠色資源網(wǎng)

技術(shù)教程
您的位置:首頁(yè)數(shù)據(jù)庫(kù)類(lèi)MySQL → MYSQL啟動(dòng)不了提示: Default storage engine (InnoDB) is not available Tags: mysql

MYSQL啟動(dòng)不了提示: Default storage engine (InnoDB) is not available Tags: mysql

我要評(píng)論 2011/05/17 15:00:58 來(lái)源:綠色資源網(wǎng) 編輯:downcc.com [ ] 評(píng)論:0 點(diǎn)擊:469次

自己用的MYSQL都是用MYISAM數(shù)據(jù)庫(kù),還沒(méi)涉及到需要INNODB,因此打算直接不加載INNODB引擎。
在my.ini(linux下/etc/my.cnf)加上skip-innodb,就可以了。
我這樣設(shè)置后,在linux下都沒(méi)問(wèn)題,今天在我本機(jī)winXP啟動(dòng)MYSQL,提示啟動(dòng)不起來(lái)??聪耺ysql目錄的錯(cuò)誤日志:
引用
090613 10:15:27 [ERROR] Default storage engine (InnoDB) is not available
090613 10:15:27 [ERROR] Aborting

090613 10:15:27 [Note] C:\www\mysql\bin\mysqld-nt: Shutdown complete

估計(jì)是上次加了參數(shù)后,一直沒(méi)啟動(dòng)起來(lái)。。。已經(jīng)很久沒(méi)用本機(jī)的mysql了。
查了下,原來(lái)my.ini里有一句:default-storage-engine=INNODB,把默認(rèn)的engine設(shè)為INNODB,而我又加了skip-innodb,怪不得啟不來(lái)了。

將default-storage-engine改為MYISAM,MYSQL啟動(dòng)OK!
在skip-innodb下,data目錄下的ibdata1,ib_logfile0,ib_logfile1這三個(gè)文件就不需要了,就可以刪除。

測(cè)試了下,在沒(méi)加skip-innodb時(shí),刪除了這三個(gè)文件,啟動(dòng)時(shí)會(huì)自動(dòng)創(chuàng)建這三個(gè)文件,日志如下:
引用
InnoDB: The first specified data file .\ibdata1 did not exist:
InnoDB: a new database to be created!
090613 10:19:37 InnoDB: Setting file .\ibdata1 size to 10 MB
InnoDB: Database physically writes the file full: wait...
090613 10:19:37 InnoDB: Log file .\ib_logfile0 did not exist: new to be created
InnoDB: Setting log file .\ib_logfile0 size to 24 MB
InnoDB: Database physically writes the file full: wait...
090613 10:19:38 InnoDB: Log file .\ib_logfile1 did not exist: new to be created
InnoDB: Setting log file .\ib_logfile1 size to 24 MB
InnoDB: Database physically writes the file full: wait...
InnoDB: Doublewrite buffer not found: creating new
InnoDB: Doublewrite buffer created
InnoDB: Creating foreign key constraint system tables
InnoDB: Foreign key constraint system tables created
090613 10:19:39 InnoDB: Started; log sequence number 0 0
090613 10:19:39 [Note] C:\www\mysql\bin\mysqld-nt: ready for connections.


再刪除這三個(gè)文件,加了skip-innodb后,啟動(dòng)日志:
引用

090613 10:30:12 [Note] C:\www\mysql\bin\mysqld-nt: Normal shutdown

090613 10:30:12 [Note] C:\www\mysql\bin\mysqld-nt: Shutdown complete

090613 10:30:17 [Note] C:\www\mysql\bin\mysqld-nt: ready for connections.
Version: '5.0.45' socket: '' port: 3306 Source distribution

那三個(gè)文件就不會(huì)自動(dòng)產(chǎn)生了。

關(guān)鍵詞:MYSQL

閱讀本文后您有什么感想? 已有 人給出評(píng)價(jià)!

  • 0 歡迎喜歡
  • 0 白癡
  • 0 拜托
  • 0 哇
  • 0 加油
  • 0 鄙視