Home > Database > Mysql Tutorial > Where is the phpmyadmin username and password?

Where is the phpmyadmin username and password?

Release: 2019-10-31 15:47:24
Original
3286 people have browsed it

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';
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

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!

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