“Connection for controluser as defined in your configuration failed” with phpMyAdmin in XAMPP

Posted by

Error:

connection for controluser as defined in your configuration failed. phpmyadmin xampp

mysqli::real_connect(): (hy000/1045): access denied for user ‘pma’@’localhost’ (using password: no)

Solution:

  • Apache is running: This means that the Apache web server is currently running and ready to serve web pages.
  • MySQL is not running: This indicates that the MySQL database server is not currently running. You may need to start MySQL if you intend to use it for your web applications.
  • ProFTPD is running: ProFTPD is an FTP (File Transfer Protocol) server that allows you to transfer files to and from your web server. It is currently running and can be used for FTP file transfers.

If you need to start MySQL, you can do so from the XAMPP control panel or by using the terminal. Here are the steps to start MySQL from the terminal:

Step 1: got ubuntu check your status type to this command (/opt/lampp/lampp status)

Step 2 : Navigate to the XAMPP installation directory. The default path is often /opt/lampp, but it may vary depending on your Linux distribution and XAMPP installation.

Step 3 : Start MySQL using the following command:

Step 4 : After running the command, check the status of MySQL again to ensure that it’s running:

It should show that both Apache and MySQL are running.

Subscribe
Notify of
guest
0 Comments
Inline Feedbacks
View all comments
0
Would love your thoughts, please comment.x
()
x