How to configure user name and password for phpmyadmin
How does phpmyadmin configure the user name and password? Many novices are not very clear about this. In order to help you solve this problem, the following editor will explain it in detail. People with this need can come and learn. I hope you can gain something.
PhpMyAdmin is a database management tool based on PHP and constructed on the host of the website in the way of Web-Base, which allows managers to use Web interface to manage MySQL database.
The phpMyAdmin configuration file is located in config.default.php under libraries. The main configuration is as follows:
Generally speaking, if your mysql and phpmyadmin are on the same server, the host name will be directly localhost.
The code is as follows
$cfg ['Servers'] [$I] [' host'] = 'localhost'
Then it's time to configure the user name and password for mysql:
The code is as follows
$cfg ['Servers'] [$I] [' user'] = 'root';$cfg [' Servers'] [$I] ['pass'] = *'; is it helpful for you to read the above content? If you want to know more about the relevant knowledge or read more related articles, please follow the industry information channel, thank you for your support.