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.
Asked
Active
Viewed 2,020 times
0
-
Which environment are you using? Probably you are missing the virtual host to phpmyadmin – aaron0207 Aug 18 '17 at 07:52
-
Give more information, where are you trying to access and how? I would recommend you to try `mysql -uroot -p` in you terminal first to check everything is correctly installed – Asur Aug 18 '17 at 07:52
-
I'm working on a mac environment and if i try mysql -uroot -p i get this error ERROR 1045 (28000): Access denied for user 'root'@'localhost' (using password: YES) – Stefanie Smet Aug 18 '17 at 08:04
-
@StefanieSmet If you are using password type it right after the `-p` flag like `mysql -uroot -pYourPassword` (if you are using mac I would recommend you Sequel Pro to manage your dbs) – Asur Aug 18 '17 at 08:49
-
@Asur But I don't have a password. – Stefanie Smet Aug 23 '17 at 15:01
2 Answers
1
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!

samtoya
- 69
- 1
- 8
0
This is how easy to install PHPMyAdmin with Laravel Valet on Mac OS
phpmyadmin with Laravel Valet on Mac OS
- brew install phpmyadmin
- cd /usr/local/share/phpmyadmin
- valet link
- valet secure
Now visit: https://phpmyadmin.test

opqclick
- 11
- 4