mysqli_real_connect(): (HY000/1045): Access denied for user ‘pma’@’localhost’ (using password: NO)

mysqli_real_connect(): (HY000/1045): Access denied for user ‘pma’@’localhost’ (using password: NO)

Cannot connect: invalid settings.

to resolve this error, we have to change auth_type as config to cookie in config.inc.php

file path : D:\xampp\phpMyAdmin config.inc.php

Default servers auth_type
$cfg[‘Servers’][$i][‘auth_type’] = ‘config’;

new servers auth_type

$cfg[‘Servers’][$i][‘auth_type’] = ‘cookie’;

after above change it may return new error as
mysqli_real_connect(): (HY000/1045): Access denied for user ‘pma’@’localhost’ (using password: NO)
$cfg[‘Servers’][$i][‘host’] = ‘127.0.0.1’; to

check ur port id that currently mysql working
ex : 3306

change host IP with port ID
$cfg[‘Servers’][$i][‘host’] = ‘127.0.0.1:3306’;