phpMyAdmin initial user name and password

 

1. phpMyAdmin file under the config.sample.inc.php copy renamed config.inc.php

 By default user name is root

Password is empty

You will be able to log in directly

I changed a few lines of code,

Testing is able to log in with root 123456

empty root password can log

//$cfg['Servers'][$i]['host'] = 'localhost';
$cfg['Servers'][$i]['compress'] = false;
$cfg['Servers'][$i]['AllowNoPassword'] = true;

    $cfg['Servers'][$i]['host'] = '127.0.0.1';
    $cfg['Servers'][$i]['user'] = 'root';
    $cfg['Servers'][$i]['password'] = '123456';

 

Published 448 original articles · won praise 93 · Views 780,000 +

Guess you like

Origin blog.csdn.net/chuan403082010/article/details/91347424