Putting a password to a user in PhpMyAdmin in Wamp

后端 未结 7 2082
不思量自难忘°
不思量自难忘° 2020-12-14 17:33

How do you change the password for the root user in phpMyAdmin on WAMP server? because I\'m locked out of phpMyAdmin, after changing the password incorrectly.

相关标签:
7条回答
  • 2020-12-14 18:19

    There is a file called config.inc.php in the phpmyadmin folder.

    The file path is C:\wamp\apps\phpmyadmin4.0.4

    Edit The auth_type 'cookie' to 'config' or 'http'

    $cfg['Servers'][$i]['auth_type'] = 'cookie';

    $cfg['Servers'][$i]['auth_type'] = 'config';
    

    or

    $cfg['Servers'][$i]['auth_type'] = 'http';
    

    When you go to the phpmyadmin site then you will be asked for the username and password. This also secure external people from accessing your phpmyadmin application if you happen to have your web server exposed to outside connections.

    0 讨论(0)
提交回复
热议问题