我更改了MySQL根目錄的密碼,現在我無法登錄到phpmyadmin。我已經重新啓動,按照這裏的指示http://dev.mysql.com/doc/refman/5.0/en/resetting-permissions.html,它仍然不會讓我登錄。phpmyadmin錯誤
我還能做些什麼來解決這個問題?謝謝!
我更改了MySQL根目錄的密碼,現在我無法登錄到phpmyadmin。我已經重新啓動,按照這裏的指示http://dev.mysql.com/doc/refman/5.0/en/resetting-permissions.html,它仍然不會讓我登錄。phpmyadmin錯誤
我還能做些什麼來解決這個問題?謝謝!
聽起來更像是一個phpMyAdmin配置問題。
看着你的config.inc.php,找到這些行:
/* Authentication type and info */
$cfg['Servers'][$i]['auth_type'] = 'config';
$cfg['Servers'][$i]['user'] = 'root';
$cfg['Servers'][$i]['password'] = ''; // you might need to change this
$cfg['Servers'][$i]['extension'] = 'mysql';
如果您使用的是Windows,請轉到您已安裝,則驅動器上的wamp
目錄進入apps
然後去到phpmyadmin
應用程序文件夾。查找名爲config.inc.php
的文件。用記事本打開它,並尋找這一行: -
$cfg['Servers'][$i]['password'] = ''
並在引號之間在這裏設置的密碼。
重新啓動你的wamp服務器,我認爲它應該完成!
編輯: - 您可能還需要更改用戶名