共計 1560 個字符,預計需要花費 4 分鐘才能閱讀完成。
自動寫代碼機器人,免費開通
這篇文章給大家分享的是有關怎么進行加密訪問 phpmyadmin 的內容。丸趣 TV 小編覺得挺實用的,因此分享給大家做個參考。一起跟隨丸趣 TV 小編過來看看吧。
首先建議大家檢查一下自己是否設置了一系列的安全賬號,進入 linux 系統的命令終端,輸入:sudo /opt/lampp/lampp security
然后就會出現一些列的賬號設置,大家一路設置下去就行,總體設置如下所示:
XAMPP: Quick security check…
XAMPP: Your XAMPP pages are NOT secured by a password.
XAMPP: Do you want to set a password? [yes] yes (1)
XAMPP: Password: ******
XAMPP: Password (again): ******
XAMPP: Password protection active. Please use lampp as user name!
XAMPP: MySQL is accessable via network.
XAMPP: Normaly that s not recommended. Do you want me to turn it off? [yes] yes
XAMPP: Turned off.
XAMPP: Stopping MySQL…
XAMPP: Starting MySQL…
XAMPP: The MySQL/phpMyAdmin user pma has no password set!!!
XAMPP: Do you want to set a password? [yes] yes
XAMPP: Password: ******
XAMPP: Password (again): ******
XAMPP: Setting new MySQL pma password.
XAMPP: Setting phpMyAdmin s pma password to the new one.
XAMPP: MySQL has no root passwort set!!!
XAMPP: Do you want to set a password? [yes] yes
XAMPP: Write the passworde somewhere down to make sure you won t forget it!!!
XAMPP: Password: ******
XAMPP: Password (again): ******
XAMPP: Setting new MySQL root password.
XAMPP: Setting phpMyAdmin s root password to the new one.
XAMPP: The FTP password for user nobody is still set to lampp .
XAMPP: Do you want to change the password? [yes] yes
XAMPP: Password: ******
XAMPP: Password (again): ******
XAMPP: Reload ProFTPD…
XAMPP: Done.
如果設置完畢之后(最好先重啟 lampp 服務),還是不能通過賬號和密碼訪問 phpmyadmin,那么需要修改一個文件。
打開 phpMyAdmin 根目錄下的 config.inc.php,按照以下行修改就可以了:
把 $cfgServers[$i][auth_type]= config 修改成:
$cfgServers[$i][auth_type]= cookie
保存文件,重新訪問 phpmyadmin 就可以使用賬號的密碼了。
如下圖所示:

感謝各位的閱讀!關于怎么進行加密訪問 phpmyadmin 就分享到這里了,希望以上內容可以對大家有一定的幫助,讓大家可以學到更多知識。如果覺得文章不錯,可以把它分享出去讓更多的人看到吧!
向 AI 問一下細節丸趣 TV 網 – 提供最優質的資源集合!