Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

phpMyAdmin in Xampp not working

I'm getting below error when I type in localhost/phpMyAdmin after starting apache and mysql server in Xampp in Windows 7 environment.

Is there a way I can fix this issue?

Not Found

The requested URL /phpMyAdmin was not found on this server.
like image 323
John Kim Avatar asked Feb 27 '12 22:02

John Kim


People also ask

Why phpMyAdmin is not working in XAMPP?

To access phpMyAdmin from XAMPP you will need to make sure you have Apache and MySQL running in the XAMPP control panel by clicking the start buttons under the Actions column. If Apache and MySQL are green then all is well. Then you can click the “Admin” button in the MySQL row and that will launch phpMyAdmin.

Why is my localhost phpMyAdmin not working?

“We are almost done to fix localhost/phpmyadmin” Step 6: Again go to config and select “Apache (httpd-sss. conf)“. Step 8: Find “” and replace this with “” and again save it. Step 9: Go to config and select “service & ports settings” and change the port to 8080 and 4433 and save it.

How do I run phpMyAdmin in XAMPP?

In your Xampp Control Panel, Start Apache and MySQL. 3. Open your browser and enter http://localhost/phpmyadmin.

Why is phpMyAdmin not connecting?

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.


2 Answers

Use lowercase: http://localhost/phpmyadmin

Apache is case-sensitive.

like image 122
Kamil Avatar answered Sep 28 '22 03:09

Kamil


404 is the code for page not found

If you get this while running both mysql and apache It means the Url is not correct:

  1. Check the alias like in @kamil's comments
  2. If alias is correct then you need to specify the port.

http://localhost/phpmyadmin is the url if your port is set to default 80.

In my case I already had a service listennig on that port so I had to change it.

The fix is to add the port if it is a custom one:

http://localhost:<port>/phpmyadmin

To find out which port you have look inside of httpd.conf.

here is a screenshot for xampp:

enter image description here To quickly find it, search for listen:

enter image description here

like image 44
meda Avatar answered Sep 28 '22 04:09

meda