Be part of JetBrains PHPverse 2026 on June 9 – a free online event bringing PHP devs worldwide together.

w99910's avatar

DB url in Laravel sail

Hello. In Laravel Sail, how can I access DB management UI like phpmyadmin xampp? With xampp, I can url like "localhost/phpmyadmin"

0 likes
7 replies
eliekhazzaka's avatar

@w99910 first check that the appache and mySQL in xampp is running properly if yes go to your browser and put localhost:8000 or the port number you changed

w99910's avatar

@eliekhazzaka it's not working. Apache and mysql in xampp is running correctly. Apache is running on port 80 and 443. Mysql is running on port 3306. When I tried url "localhost:8000/phpmyadmin" , the browser said "localhost refused to connect". The url "localhost/phpmyadmin" returns 404. Ps. The url "localhost" is working fine and I can register user and login successfully.

ftiersch's avatar

Have you actually installed phpmyadmin somewhere? Laravel doesn't come with phpmyadmin installed

w99910's avatar

@ftiersch Yes I had been using phpmyadmin pretty well. I went to try Sail and then I'm stuck here. Before Laravel Sail, I open xampp and start apache and mysql and cmd "php artisan serve". and I can access to phpmyadmin with url "localhost/phpmyadmin".

ftiersch's avatar

@w99910 Well yes, because xampp comes with phpmyadmin installed :) But that's a feature of xampp - not of Laravel. That's what I mean.

As @tray2 suggested - maybe check out a database tool like TablePlus or HeidiSQL.

w99910's avatar

Thanks all of you. I will try other packages as @tray2 suggested.

Please or to participate in this conversation.