Home > Database > phpMyAdmin > body text

How to check phpMyAdmin username and password

Release: 2019-12-17 11:46:11
Original
11200 people have browsed it

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';
Copy after login

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

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!

Related labels:
source:php.cn
Statement of this Website
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
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template
About us Disclaimer Sitemap
php.cn:Public welfare online PHP training,Help PHP learners grow quickly!