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!
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!