Home>Article>Database> How to add phpmyadmin settings interface login user name and password

How to add phpmyadmin settings interface login user name and password

藏色散人
藏色散人 forward
2021-03-04 11:44:10 2255browse

The following tutorial column fromphpmyadminwill introduce to you how to add the login user name and password for the phpmyadmin setting interface. I hope it will be helpful to friends in need!

How to add phpmyadmin settings interface login user name and password

After setting up the mysql and php environment, enter http://localhost/phpmyadmin to enter the phpmyadmin graphical login interface. In this interface, if the login method is set to cookie , you need to enter the username and password of mysql, and then you can perform graphical operations.phpmyadmin can set some phpmyadmin parameters by modifying the config.inc.php file, or you can click on the interface in the picture to install the script, and then a login window will pop up. The username and password in this window are not MySQL. User name and password. At this time, you need to enter the terminal to set a new user name and password. Type

sudo htpasswd /etc/phpmyadmin/htpasswd.setup admin

on the terminal interface and enter the new password as prompted. This way you can add an administrator with the user name admin.

The above is the detailed content of How to add phpmyadmin settings interface login user name and password. For more information, please follow other related articles on the PHP Chinese website!

Statement:
This article is reproduced at:csdn.net. If there is any infringement, please contact admin@php.cn delete