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

Open phpMyAdmin in a browser and log in as root. Create a database called phpmyadmin Create a user called pma and set the “host” to the hostname or IP address of your web server (if the web server and MySQL are on the same box use localhost), make a note of the password, and grant the new user full … Read more

ERROR 2002 (HY000): Can’t connect to local MySQL server through socket ‘/var/run/mysqld/mysqld.sock’ (2)

I once had this problem and solved it by installing mysql-server, so make sure that you have installed the mysql-server, not the mysql-client or something else. That error means the file /var/run/mysqld/mysqld.sock doesn’t exists, if you didn’t install mysql-server, then the file would not exist. So in that case, install it with But if the mysql-server is already installed and is running, then you … Read more

Forbidden :You don’t have permission to access /phpmyadmin on this server

You need to follow the following steps: Find line that read follows Replace with your workstation IP address: Again find the following line: Replace as follows: Also find deny from all and comment it in the entire file. Save and close the file.Restart Apache httpd server: Edit: Since this is the selected answer and gets best visibility … Read more

phpMyAdmin Error: The mbstring extension is missing. Please check your PHP configuration

I have a problem running phpMyAdmin. When I try to access phpMyAdmin in my browser, I get the error message: “The mbstring extension is missing. Please check your PHP configuration.” I have already searched on the internet for possible solutions. According to that, I made some modifications in php.ini file. I uncommented the line “;extension=php_mbstring.dll” … Read more