bug #2414056 [auth] AllowNoPasswordRoot error message is too vague

This commit is contained in:
Marc Delisle
2009-02-10 18:15:18 +00:00
parent 1de1044939
commit 842ed504d2
58 changed files with 61 additions and 3 deletions

View File

@@ -884,9 +884,9 @@ if (! defined('PMA_MINIMUM_COMMON')) {
// is root without password allowed?
if (!$cfg['Server']['AllowNoPasswordRoot'] && $cfg['Server']['user'] == 'root' && $cfg['Server']['password'] == '') {
$allowDeny_forbidden = true;
$root_without_password_is_forbidden = true;
PMA_auth_fails();
unset($allowDeny_forbidden); //Clean up after you!
unset($root_without_password_is_forbidden); //Clean up after you!
}
// Try to connect MySQL with the control user profile (will be used to