The following columnphpmyadmin usage tutorialwill introduce you to several methods of setting the login password for phpmyadmin. 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.
phpmyadminYou can set some phpmyadmin parameters by modifying the config.inc.php file, or you can set them in the picture Click the installation script on the interface, and then a login window will pop up. The user name and password in this window are not MySQL user names and passwords. At this time, you need to enter the terminal to set a new user name and password, and type
sudo htpasswd /etc/phpmyadmin/htpasswd.setup admin
on the terminal interface. Then enter the new password as prompted, so that you can add an administrator with the user name admin.
The above is the detailed content of How to add phpmyadmin settings interface login username and password. For more information, please follow other related articles on the PHP Chinese website!