2009年1月11日 星期日

config.ini.php v.s. config.inc.php #1045 - Access denied for user 'root'@'localhost' (using password: NO) 的解決!!

MySQL 傳回:

#1045 - Access denied for user 'root'@'localhost' (using password: NO)


大部分網友的教學都是手動把根目錄的config.sample.inc.php或是libraries/config.default.php改成config.inc.php再來進行設定,

但我卻一直出現了如上#1045的問題,或是後來仔細一瞧發現我參考的教學,檔名是改成config.ini.php

也就是因為這樣我才一直遇到了#1045的錯誤,不過google了一下,發現網路教學真的好多篇是教config.ini.php

真的是太奇怪了…不過不管如何,安裝時參考根目錄的Documentation.html就不會錯了…

從Documentation.html節錄出 :

Quick Install

3. Now you must configure your installation. There are two methods that can be used. Traditionally, users have hand-edited a copy of config.inc.php, but now a wizard-style setup script is provided for those who prefer a graphical installation. Creating a config.inc.php is still a quick way to get started and needed for some advanced features.

沒有留言:

張貼留言