1 頁 (共 1 頁)

[問題]MYSQL的錯誤訊息

發表於 : 2004-02-21 23:33
stan517
MySQL 傳回:

Access denied for user: 'root@localhost' (Using password: NO)

不好意思 麻煩各位高手幫我看看...(sorry我真的有去看前面 :cry: )

我看之前有文章也是這樣 不過她是(Using password: YES)

先說一下我的環境 :-o

winXP 用appserv-win32-1.8.0安裝

要架在學校主機上(確定支援PHP,MYSQL)(我也有去申請MYSQL帳號)

請問是不是要去改config.inc.php裡面??

順便問一下安裝過程時

Serve Name是要打www.xxx.edu.tw還是www.xxx.edu.tw/~學號/

MYSQL管理員設定User Name是要打學校申請的帳號吧\r

(還是要localhost?)

還有我只上傳C:\AppServ\www裡面的所有資料夾和index.php這樣可以吧\r

真是麻煩囉... :-|

發表於 : 2004-02-21 23:39
小竹子
MYSQL管理員設定User Name是要打學校申請的帳號!

在學校的空間就當你重新安裝!

發表於 : 2004-02-21 23:49
stan517
那錯誤訊息呢>"<

對了 上一篇忘了提

我也有裝
phpBB-2.0.6
lang_chinese_traditional_taiwan_2.0.5
subSilver_chinese_traditional_taiwan

應該影響不大吧 (不過還是能講則獎 :-) )

發表於 : 2004-02-22 00:03
stan517
我去改了config.in..php裡面\r

改了這兩行

$cfg['Servers'][$i]['user'] = 'root'; // MySQL user
$cfg['Servers'][$i]['password'] = ''; // MySQL password (only needed

把他改成我的MYSQL帳號跟密碼就可以進入了

不過又發生另外一個問題 就是建立資料庫時又發生錯誤了

以下...

資料庫 phpbb 在 localhost 執行
錯誤

SQL 語法 :

CREATE DATABASE `phpbb`

MySQL 傳回:


Access denied for user: 'u90192134@%' to database 'phpbb'
回上一頁

( 歹勢 :-P )

發表於 : 2004-02-22 00:04
aiken
你先從phpmyadmin 進入你的資料庫\r
然後新建一個 phpbb 的資料庫

發表於 : 2004-02-22 00:29
stan517
各位大大都睡了吧 :-(

我再提供我一個錯誤訊息好了 :x

就是在按下PHP-Nuke Web Portal System Version 5.6 這個連結時

網頁前面也有許多錯誤訊息\r

以下...

Warning: mysql_select_db(): Access denied for user: 'www-data@localhost' (Using password: NO) in /home/2004u/u90192134/public_html/PHP-Nuke/includes/sql_layer.php on line 80

Warning: mysql_select_db(): A link to the server could not be established in /home/2004u/u90192134/public_html/PHP-Nuke/includes/sql_layer.php on line 80

Warning: mysql_fetch_row(): supplied argument is not a valid MySQL result resource in /home/2004u/u90192134/public_html/PHP-Nuke/includes/sql_layer.php on line 286

Warning: mysql_num_rows(): supplied argument is not a valid MySQL result resource in /home/2004u/u90192134/public_html/PHP-Nuke/includes/sql_layer.php on line 238

Warning: mysql_fetch_row(): supplied argument is not a valid MySQL result resource in /home/2004u/u90192134/public_html/PHP-Nuke/includes/sql_layer.php on line 286

Warning: mysql_fetch_row(): supplied argument is not a valid MySQL result resource in /home/2004u/u90192134/public_html/PHP-Nuke/includes/sql_layer.php on line 286

Warning: mysql_num_rows(): supplied argument is not a valid MySQL result resource in /home/2004u/u90192134/public_html/PHP-Nuke/includes/sql_layer.php on line 238

Warning: mysql_fetch_row(): supplied argument is not a valid MySQL result resource in /home/2004u/u90192134/public_html/PHP-Nuke/includes/sql_layer.php on line 286

Warning: mysql_fetch_row(): supplied argument is not a valid MySQL result resource in /home/2004u/u90192134/public_html/PHP-Nuke/includes/sql_layer.php on line 286

發表於 : 2004-02-22 11:03
stan517
aiken 寫:你先從phpmyadmin 進入你的資料庫\r
然後新建一個 phpbb 的資料庫
有誰能幫我看看

還是建立不起來耶 :cry:

是不是config.inc.php還要改阿 :?:

發表於 : 2004-02-22 11:09
stan517
stan517 寫:
aiken 寫:你先從phpmyadmin 進入你的資料庫\r
然後新建一個 phpbb 的資料庫
有誰能幫我看看

還是建立不起來耶 :cry:

是不是config.inc.php還要改阿 :?:
請問個小問題 :oops: 安裝過程時 ...

Serve Name是要打www.xxx.edu.tw還是www.xxx.edu.tw/~學號/

發表於 : 2004-02-22 14:59
aiken

發表於 : 2004-02-22 19:53
stan517
aiken 寫:www.xxx.edu.tw
謝謝你 :-)

這樣我就沒設定錯囉

不過我之前的問題還是沒解決

大家幫幫我吧 繼續努力

:-o