第七色在线视频,2021少妇久久久久久久久久,亚洲欧洲精品成人久久av18,亚洲国产精品特色大片观看完整版,孙宇晨将参加特朗普的晚宴

為了賬號安全,請及時綁定郵箱和手機(jī)立即綁定
已解決430363個問題,去搜搜看,總會有你想問的

修復(fù)對phpMyAdmin用戶'root'@'localhost'的訪問被拒絕的問題

修復(fù)對phpMyAdmin用戶'root'@'localhost'的訪問被拒絕的問題

慕尼黑8549860 2019-12-25 11:12:51
我在PC上使用WAMP Server 2.2。在phpMyAdmin(版本5.5.24)中,我編輯了“ root”用戶(帶有“ localhost”主機(jī)),并為其指定了密碼“ root”。原來,這是我要恢復(fù)的重大錯誤?,F(xiàn)在,當(dāng)我轉(zhuǎn)到localhost / phpmyadmin /時,我會在左側(cè)看到數(shù)據(jù)庫菜單,但是主框架顯示錯誤消息:#1045 - Access denied for user 'root'@'localhost' (using password: NO)phpMyAdmin tried to connect to the MySQL server, and the server rejected the connection. You should check the host, username and password in your configuration and make sure that they correspond to the information given by the administrator of the MySQL server.如果我轉(zhuǎn)到127.0.0.1/phpmyadmin,則不會收到該錯誤,并且一切正常。我嘗試將用戶的密碼改回?zé)o密碼。我嘗試修改config.inc.php文件以添加新密碼(但這使phpMyAdmin完全出錯);我嘗試刪除并重新創(chuàng)建root / localhost用戶。似乎沒有任何作用。root / localhost用戶似乎沒有密碼和所有特權(quán),但是錯誤仍然存在。有什么想法或如何使該用戶的訪問權(quán)限恢復(fù)正常,而不必重新安裝WAMP?
查看完整描述

3 回答

?
收到一只叮咚

TA貢獻(xiàn)1821條經(jīng)驗 獲得超5個贊

在此config.inc文件下查找文件,C:\wamp\apps\phpmyadmin3.5.1找到這一行


$cfg['Servers'][$i]['password'] =";

并替換為


$cfg['Servers'][$i]['password'] = 'Type your root password here';


查看完整回答
反對 回復(fù) 2019-12-25
?
呼喚遠(yuǎn)方

TA貢獻(xiàn)1856條經(jīng)驗 獲得超11個贊

我更改了數(shù)據(jù)庫中的密碼后,我遇到了同樣的問題..我所做的是編輯更新的密碼,我之前更改了該密碼,但在config.inc.php和D下的相同用戶名中沒有更新: \ xamp \ phpMyAdmin \ config.inc


$cfg['Servers'][$i]['auth_type'] = 'config';

$cfg['Servers'][$i]['user'] = **'root'**;

$cfg['Servers'][$i]['password'] = **'epufhy**';

$cfg['Servers'][$i]['extension'] = 'mysqli';

$cfg['Servers'][$i]['AllowNoPassword'] = true;

$cfg['Lang'] = '';


查看完整回答
反對 回復(fù) 2019-12-25
?
慕的地8271018

TA貢獻(xiàn)1796條經(jīng)驗 獲得超4個贊

在phpMyAdmin頁面中更改“ root”的密碼后,我遇到了同樣的問題,并且也在互聯(lián)網(wǎng)上尋找解決方案,但未能獲得所需的答案,因此我檢查了phpMyAdmin目錄中的文檔。


轉(zhuǎn)到并編輯文件


\modules\phpmyadmin414x140123114237\config.sample.inc.php

尋找線


$cfg['Servers'][$i]['auth_type'] = 'config'

并將“ config”更改為“ http”,這將允許您在使用瀏覽器進(jìn)入phpMyAdmin頁面時輸入用戶名和密碼。


要么


請參閱同一phpMyAdmin目錄(phpmyadmin414x140123114237\doc\html)下的文檔文件以尋求幫助和搜索$cfg['Servers'][$i]['auth_type'],您將看到4種選擇方式來選擇如何登錄phpMyAdmin頁面。


查看完整回答
反對 回復(fù) 2019-12-25
  • 3 回答
  • 0 關(guān)注
  • 889 瀏覽

添加回答

舉報

0/150
提交
取消
微信客服

購課補(bǔ)貼
聯(lián)系客服咨詢優(yōu)惠詳情

幫助反饋 APP下載

慕課網(wǎng)APP
您的移動學(xué)習(xí)伙伴

公眾號

掃描二維碼
關(guān)注慕課網(wǎng)微信公眾號