Stefanie Smet
Stefanie Smet

Reputation: 13

Laravel valet phpmyadmin 404 error

When I use laravel new project I can access my website to link at project.dev. But when I wanna go to my phpmyadmin I get a 404 not found page. I already installed mysql through homebrew.

Upvotes: 0

Views: 2312

Answers (2)

opqclick
opqclick

Reputation: 21

This is how easy to install PHPMyAdmin with Laravel Valet on Mac OS

phpmyadmin with Laravel Valet on Mac OS

  1. brew install phpmyadmin
  2. cd /usr/local/share/phpmyadmin
  3. valet link
  4. valet secure

Now visit: https://phpmyadmin.test

Upvotes: 0

samtoya
samtoya

Reputation: 79

The best solution is to make a symbolic link to the phpMyAdmin folder like this...

sudo ln -s /usr/share/phpmyadmin /path/for/your/valet.

Then you can access your phpMyAdmin using the http://phpmyadmin.dev or whatever your valet domain is configured to. This works perfectly!

Upvotes: 2

Related Questions