Home  >  Article  >  Database  >  How to check phpMyAdmin username and password

How to check phpMyAdmin username and password

尚
Original
2019-12-17 11:46:1111201browse

How to check phpMyAdmin username and password

The username and password of phpMyAdmin can be viewed in the phpMyAdmin configuration file config.default.php. The database username and password configured in config.default.php is the user of phpMyAdmin. password.

The phpMyAdmin configuration file is in config.default.php under libraries. The main configuration is as follows:

Generally, if your mysql and phpmyadmin are placed on the same server, the host name Just use localhost directly

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'] = *****';

Recommended learning:phpmyadmintutorial

The above is the detailed content of How to check phpMyAdmin username and password. For more information, please follow other related articles on the PHP Chinese website!

Statement:
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn