phpMyAdmin ERROR: mysqli_real_connect(): (HY000/1045): Access denied for user 'pma'@'localhost' (using password: NO)

后端 未结 16 837
谎友^
谎友^ 2020-12-05 00:17

I keep getting the following errors with mysql connection through XAMPP and I don\'t know what to do:

That\'s the code in the config.inc.php



        
16条回答
  •  野趣味
    野趣味 (楼主)
    2020-12-05 00:34

    Linux / Ubuntu: If installed phpmyadmin via apt: sudo apt-get install phpmyadmin php-mbstring

    Can check /etc/phpmyadmin/config-db.php for changing the user credentials.

    $dbuser='pma';
    $dbpass='my_pass';
    $basepath='';
    $dbname='phpmyadmin';
    $dbserver='localhost';
    $dbport='3306';
    $dbtype='mysql';
    

提交回复
热议问题