Page 1 of 1

Unable to login to phpMyAdmin

PostPosted: 19. November 2019 00:51
by peddlerp
I've tried every combination of configuration, http, cookie, password, etc. No good!

All of the Servers are running... thats a good sign.

phpMyAdmin
Welcome to phpMyAdmin
Cannot log in to the MySQL server
Language

Log inDocumentation
Username:
Password:
mysqli_real_connect(): (HY000/1045): Access denied for user 'root'@'localhost' (using password: YES)
/**
* Authentication method (valid choices: config, http, signon or cookie)
*
* @global string $cfg['Servers'][$i]['auth_type']
*/
$cfg['Servers'][$i]['auth_type'] = 'cookie';

/**
* HTTP Basic Auth Realm name to display (only used with 'HTTP' auth_type)
*
* @global string $cfg['Servers'][$i]['auth_http_realm']
*/
$cfg['Servers'][$i]['auth_http_realm'] = '';

/**
* MySQL user
*
* @global string $cfg['Servers'][$i]['user']
*/
$cfg['Servers'][$i]['user'] = 'root';

/**
* MySQL password (only needed with 'config' auth_type)
*
* @global string $cfg['Servers'][$i]['password']
*/
$cfg['Servers'][$i]['password'] = 'root';

/**
* Session to use for 'signon' authentication method
*
* @global string $cfg['Servers'][$i]['SignonSession']
*/
$cfg['Servers'][$i]['SignonSession'] = '';

/**
* Cookie params to match session to use for 'signon' authentication method
* It should be an associative array matching result of session_get_cookie_params() in other system
*
* @global array $cfg['Servers'][$i]['SignonCookieParams']
*/
$cfg['Servers'][$i]['SignonCookieParams'] = array();

Re: Unable to login to phpMyAdmin

PostPosted: 19. November 2019 13:02
by Altrea
peddlerp wrote:mysqli_real_connect(): (HY000/1045): Access denied for user 'root'@'localhost' (using password: YES)

There is only one reason for this: The host/user/password combination you are trying is not correct.