XAMPP MySQL password setting (Can not enter in PHPMYADMIN)

前端 未结 8 1507
失恋的感觉
失恋的感觉 2020-12-24 03:52

Firstly: I am cannot entering PHPMYADMIN at \"localhost:80/phpmyadmin/\". Because when I install MySQL server mysql-5.5.36 with Username :root an

8条回答
  •  死守一世寂寞
    2020-12-24 04:22

    Find the below code in xampp/phpmyadmin/config.inc.php

    $cfg['Servers'][$i]['controluser']  = 'user_name/root';   
    $cfg['Servers'][$i]['controlpass']  = 'passwaord';
    $cfg['Servers'][$i]['auth_type']    = 'config';
    $cfg['Servers'][$i]['user']         = 'user_name/root';
    $cfg['Servers'][$i]['password']     = 'password';
    

    Replace each statement above with the corresponding entry below:

    $cfg['Servers'][$i]['controluser']  = 'root';   
    $cfg['Servers'][$i]['controlpass']  = 'xxxx';
    $cfg['Servers'][$i]['auth_type']    = 'config';
    $cfg['Servers'][$i]['user']         = 'root';
    $cfg['Servers'][$i]['password']     = 'xxxx';
    

    Doing this caused localhost/phpmyadmin in the browser and the MySQL command prompt to work properly.

提交回复
热议问题