Reputation: 151
I installed XAMPP (Apache, PHP, MYSQL) in my computer C:\xampp. When I tried to start phpMyAdmin from my web browser with http: followed by //localhost/phpMyAdmin/ as address, I got "Unable to connect" error. I searched stackoverflow and found that someone else tried the same thing but got different error. Also, I would like to know how to open a .php file on local computer in web browser. Thank you.
Upvotes: 10
Views: 254203
Reputation: 57
In my case the XAMPP port was 8082, and I used http://localhost:8082/phpmyadmin/ and it worked!
Upvotes: 0
Reputation: 36
Well I also meet same problem before.
So I think you maybe didn't run apache server.
To open phpmyadmin page, you should start apache server.
Of course, without running Apache server, you project can be running, such as Laravel.
Upvotes: 0
Reputation: 488
XAMPP by default uses http://localhost/phpmyadmin
It also requires you start both Apache and MySQL from the control panel (or as a service).
In the XAMPP Control Panel, clicking [ Admin ] on the MySQL line will open your default browser at the configured URL for the phpMyAdmin application.
If you get a phpMyAdmin error stating "Cannot connect: invalid settings." You will need to make sure your MySQL config file has a matching port for server and client. If it is not the standard 3306 port, you will also need to change your phpMyAdmin config file under apache (config.inc.php) to meet the new port settings. (127.0.0.1 becomes 127.0.0.1:<port>)
Upvotes: 21
Reputation: 102
Try : http://localhost/phpmyadmin/
Use lowercase letters and try again
Upvotes: 0
Reputation: 29
http://localhost:(port number of phpmyadmin)/phpmyadmin/
For example: http://localhost:8080/phpmyadmin/
It works great!
Upvotes: 1
Reputation: 183
You dont start phpmyadmin from your webbrowser. When you want to start PHPMyAdmin you have to do so from the XAMPP control-panel. When you've started phpmyadmin from your control-panel you can access it from the web-browser.
Upvotes: 1
Reputation: 20520
Your web server isn't running! You need to find the XAMPP control panel and start the web server up.
Of course, you might find other problems after that, but this is the first step.
Upvotes: 2