Re: [問題] 關於MySQLadmin密碼的設定
※ 引述《sunkill.bbs@bbs.sayya.org (linux才是王道)》之銘言:
: ※ 引述《deagray.bbs@ptt.cc (deagray)》之銘言:
: > 各位大大
: > 小弟是Linux的新手
: > 日前用VM安裝了FedoraCore6
: > 也已使用 yum install httpd mysql-server php php-devel php-mysql
: > 補齊了一些安裝
: > 但是我在設定MySQLadmin密碼時
: > 下了這個指令﹕mysqladmin -u root password '123456'
: > 卻出現了以下的錯誤
: > mysqladmin: connect to server at 'localhost' failed
: > error: 'Access denied for user 'root'@'localhost' (using password: NO)'
: > 試了很多次還是一樣的結果
: > 卻又沒有能力找出問題
: > 請大大幫忙
: > 感謝
: mysqladmin -u root -p password <enter>
謝謝大大
在設定完成後我安裝了phpMyAdmin
在編輯config.inc.php
將內部的一行設定為$cfg['Servers'][$i]['auth_type'] = 'http'
之後我試著利用IE做連線測試﹕http://我的主機/phpmyadmin
出現了以下的訊息,還請大大再次解惑,感恩﹗
歡迎使用 phpMyAdmin 2.11.8-rc1
有可能你未建立設定檔. 你可利用此 安裝程序 建立設定檔.
錯誤
MySQL 傳回:
#1045 - Access denied for user 'root'@'localhost' (using password: NO)
開啟新 phpMyAdmin 視窗
--
※ 發信站: 批踢踢實業坊(ptt.cc)
◆ From: 218.187.40.48
討論串 (同標題文章)
本文引述了以下文章的的內容:
完整討論串 (本文為第 4 之 4 篇):