xampp localhost phpmyadmin Access denied for user 'root'@'localhost' (using password: YES)

Ich bekomme zwei Fehler, wenn ich versuche zu gehen zu meinem phpmyadmin localhost

Access denied for user 'root'@'localhost' (using password: YES)

phpMyAdmin tried to connect to the MySQL server, and the server rejected the connection. You should check the host, username and password in your configuration and make sure that they correspond to the information given by the administrator of the MySQL server.

Ich weiß nicht, was ich falsch mache...hier ist meine config-code...

$cfg['blowfish_secret'] = ''; /* YOU MUST FILL IN THIS FOR COOKIE AUTH! */

/* 
 * Servers configuration
 */
$i = 0;

/* 
 * First server
 */
$i++;
/* Authentication type */
$cfg['Servers'][$i]['auth_type'] = 'config';
/* Server parameters */
$cfg['Servers'][$i]['host'] = 'localhost';
$cfg['Servers'][$i]['user'] = 'root';
$cfg['Servers'][$i]['password'] = 'password';
$cfg['Servers'][$i]['connect_type'] = 'socket'; 
$cfg['Servers'][$i]['compress'] = false;
$cfg['Servers'][$i]['AllowNoPassword'] = false;
/* Select mysqli if your server has it */
$cfg['Servers'][$i]['extension'] = 'mysql';
/* User for advanced features */
//$cfg['Servers'][$i]['controluser'] = 'pmauser';
//$cfg['Servers'][$i]['controlpass'] = 'pmapass';
/* Advanced phpMyAdmin features */
//$cfg['Servers'][$i]['pmadb'] = 'phpmyadmin';
//$cfg['Servers'][$i]['bookmarktable'] = 'pma_bookmark';
//$cfg['Servers'][$i]['relation'] = 'pma_relation';
//$cfg['Servers'][$i]['table_info'] = 'pma_table_info';
//$cfg['Servers'][$i]['table_coords'] = 'pma_table_coords';
//$cfg['Servers'][$i]['pdf_pages'] = 'pma_pdf_pages';
//$cfg['Servers'][$i]['column_info'] = 'pma_column_info';
//$cfg['Servers'][$i]['history'] = 'pma_history';

/* 
 * End of servers configuration
 */

/*
 * Directories for saving/loading files from server
 */
$cfg['UploadDir'] = '';
$cfg['SaveDir'] = '';

?>

Merke ich viel code auskommentiert ist, sollte ich un-kommentiert es?

  • sind Sie sicher, dass Sie müssen das Kennwort für die Verbindung mit der Datenbank?? wenn Sie nicht brauchen, Passwort, tun Sie dies, $cfg['Servers'][$i]['password'] = ";
  • dieser Fehler kommt beim verbinden zur Datenbank. So versuchen, echo der Verbindungszeichenfolge details zu Debuggen, die (zu wissen, was Werte, die seine Einnahme zu verbinden, sind die richtigen Werte oder nicht).
  • Sie sind an die Standard-xampp-Seite und nicht durch die security-Bildschirme?
InformationsquelleAutor user979331 | 2012-11-12
Schreibe einen Kommentar