Connection for controluser as defined in your configuration failed. - XAMPP

I got this error when using XAMPP.

MySQL said:
Cannot connect: invalid settings.
Connection for controluser as defined in your configuration failed.
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.

enter image description here

1 Answer

  1. Check that no exact duplicate installations of PHP and phpMyAdmin are installed alongside each other (maybe one of them was installed by XAMPP), and if so remove one of the duplicates.

  2. Remove and reinstall mysql-server.

    sudo apt purge mysql-server
    sudo apt install mysql-server

Your Answer

Sign up or log in

Sign up using Google Sign up using Facebook Sign up using Email and Password

Post as a guest

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

You Might Also Like