2016-12-30 113 views
-4

我下載了WAMP和Wordpress。本地主機正在工作。但是,當我需要登錄到phpmyAdmin它要求密碼..如何創建密碼。如何登錄到phpMyAdmin

請在你的答案很簡單。我剛來這地方。謝謝你們。

+0

默認密碼爲空,用戶名爲root我認爲 – fizzi

+0

輸入您的mysql用戶名和密碼。首先閱讀PMA文檔。 – anwerj

+0

通過這個artical https://hsnyc.co/how-to-set-the-mysql-root-password-in-localhost-using-wamp/ – Dhiru

回答

1

案例1:您還沒有指定密碼,還要求

這是要求你的MySQL用戶名和密碼。您應該輸入這些詳細信息,如果您尚未指定密碼,這些詳細信息將默認爲"root"""(即:無)。

Username : root 
password : blank 

案例2:添加密碼或更改將在這裏

你可以設定密碼phpMyAdmin的這裏PMA用戶的

http://localhost/security/index.php 

更改密碼

phpmyadmin文件夾中有config.inc.php文件。更改用戶名和密碼rd到您爲數據庫設置的那個。

/* Authentication type and info */ 


$cfg['Servers'][$i]['user'] = 'enter_username_here'; 
$cfg['Servers'][$i]['password'] = 'enter_password_here'; 
+0

它工作..根和密碼是黑色的。謝謝瓦西姆。 –

+0

但我們如何編輯MySQL用戶名和密碼? –

+0

是的,你可以編輯 –