xampp phpmyadmin access denied error(#2002)

后端 未结 5 1937
醉话见心
醉话见心 2020-12-16 15:22

Hi everyone i had mysql server running on 3306. I uninstalled that completely and installed XAMPP. Mysql was not running at the beginning, then I changed the port to 3307 in

5条回答
  •  清酒与你
    2020-12-16 15:56

    Try this.

    Go to the directory where Xampp is installed. Lets call it xampp. Now open the file xampp/phpMyAdmin/config.inc.php in any text editor.

    Now find this line

    $cfg['Servers'][$i]['host'] = 'localhost';
    

    and change it to

    $cfg['Servers'][$i]['host'] = 'localhost:3307';
    

    Note: If you are on Windows, xampp is by default installed in C:\xampp

提交回复
热议问题