Laravel代客phpmyadmin 404错误 [英] Laravel valet phpmyadmin 404 error
问题描述
当我使用laravel新项目时,我可以访问我的网站以链接到project.dev.但是,当我想转到phpmyadmin时,会得到一个404 not found页面. 我已经通过自制软件安装了mysql.
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.
推荐答案
最好的解决方案是像这样建立指向phpMyAdmin文件夹的符号链接...
The best solution is to make a symbolic link to the phpMyAdmin folder like this...
sudo ln -s/usr/share/phpmyadmin/path/for/您的/代客.
sudo ln -s /usr/share/phpmyadmin /path/for/your/valet.
然后,您可以使用 http://phpmyadmin.dev 或您配置的代客域访问的phpMyAdmin .这很完美!
Then you can access your phpMyAdmin using the http://phpmyadmin.dev or whatever your valet domain is configured to. This works perfectly!
这篇关于Laravel代客phpmyadmin 404错误的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!