作者 主題: 請問各位有關log檔的內容~~~?????  (閱讀 2410 次)

0 會員 與 1 訪客 正在閱讀本文。

heart

  • 可愛的小學生
  • *
  • 文章數: 10
    • 檢視個人資料
請問各位有關log檔的內容~~~?????
« 於: 2007-03-14 14:51 »
請問各位大大:
我主機上的mysqld.log檔發現錯誤的訊息
但不知如何改才能正常執行~~~
以下是mysqld.log裡的錯誤訊息…

070312 11:57:35  mysqld started
Cannot initialize InnoDB as 'innodb_data_file_path' is not set.
If you do not want to use transactional InnoDB tables, add a line
skip-innodb
to the [mysqld] section of init parameters in your my.cnf
or my.ini. If you want to use InnoDB tables, add to the [mysqld]
section, for example,
innodb_data_file_path = ibdata1:10M:autoextend
But to get good performance you should adjust for your hardware
the InnoDB startup options listed in section 2 at
http://www.innodb.com/ibman.html
/usr/libexec/mysqld: ready for connections

請問什麼是InnoDB????
我又該如何更正我的設定檔呢???

Darkhero

  • 酷!學園 學長們
  • 俺是博士!
  • *****
  • 文章數: 3728
  • 性別: 男
    • 檢視個人資料
    • ㄚ凱隨手紀
請問各位有關log檔的內容~~~?????
« 回覆 #1 於: 2007-03-14 14:55 »
拿著這些錯誤訊息,用英文字典翻譯就會知道該加什麼到設定擋了....

裡面分為要用 Innodb 跟 不要用 Innodb 的解法兩種....
希望我們的討論是為了把問題解決,而不是爭論誰對誰錯.
『灌水才是重點,發文只是順便』
『我寧可讓不會釣魚的工程師餓死,也不想讓會餓死的工程師去攪沉公司....』
Blog: http://blog.darkhero.net/
秘密基地: http://www.darkhero.net/comic/
目前服務的網站: http://www.libook.com.tw/

oscars80

  • 憂鬱的高中生
  • ***
  • 文章數: 92
    • 檢視個人資料
Re: 請問各位有關log檔的內容~~~?????
« 回覆 #2 於: 2007-03-14 15:01 »
引述: "heart"
請問各位大大:
我主機上的mysqld.log檔發現錯誤的訊息
但不知如何改才能正常執行~~~
以下是mysqld.log裡的錯誤訊息…

070312 11:57:35  mysqld started
Cannot initialize InnoDB as 'innodb_data_file_path' is not set.
If you do not want to use transactional InnoDB tables, add a line
skip-innodb
to the [mysqld] section of init parameters in your my.cnf
or my.ini. If you want to use InnoDB tables, add to the [mysqld]
section, for example,
innodb_data_file_path = ibdata1:10M:autoextend
But to get good performance you should adjust for your hardware
the InnoDB startup options listed in section 2 at
http://www.innodb.com/ibman.html
/usr/libexec/mysqld: ready for connections

請問什麼是InnoDB????
我又該如何更正我的設定檔呢???


他的說明不是已經講的很清楚了嗎?

如果你不想用InnoDB,就在設定檔增加:
skip-innodb
如果你要用到InnoDB,就按照上面講的設定。

上面還提供一個連結,真的不懂的話連看看不就知道了?=.=