Home  >  Article  >  Database  >  Where is the phpmyadmin username and password?

Where is the phpmyadmin username and password?

尚
Original
2019-10-31 15:47:243161browse

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.

Where is the phpmyadmin username and password?

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!

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
Previous article:phpmyadmin cannot log inNext article:phpmyadmin cannot log in