XAMPPからphpMyAdminを実行しようとすると、このエラーが発生します。XAMPPをインストールして実行する前に、このマシンに既存のmysqlがインストールされていました。XAMPPを起動すると、mysqlとapache2の両方が正常に起動します。PHPスクリプトを使用してmysqlデータベースにアクセスできますが、phpmyadminを介してアクセスすることはできません。
Error
MySQL said: Documentation
#1045 - Access denied for user 'root'@'localhost' (using password: NO)
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.