phpMyAdmin is a MySQL database management tool based on PHP and structured in Web-Base mode on the website host, allowing administrators to use the Web interface to manage MySQL databases.
phpMyAdmin configuration file is in config.default.php under libraries. The main configuration is as follows:
Generally, if you Mysql and phpmyadmin are placed on the same server. The host name is directly localhost
The code is as follows
$cfg['Servers'][$i]['host'] = 'localhost';
Then you need to configure the user name and password of mysql:
The code is as follows
$cfg['Servers'][$i]['user'] = 'root'; $cfg['Servers'][$i]['pass'] = *****';
The above is the detailed content of Where is the phpmyadmin username and password?. For more information, please follow other related articles on the PHP Chinese website!