#Laravel #Homestead #phpmyadmin
Once the Homestead vagrant box is installed successfully, we can add phpMyAdmin and config it to run with Nginx.
vagrant ssh
and type the following command: sudo apt-get install phpmyadmin
apache2
and press Enter, just to get pass it.Yes
and press Enter.Password of the database's administrative user
, enter secret
and press Enter.MySQL application password for phpmyadmin
, enter secret
and press Enter.Password confirmation
, enter secret
again and press Enter.sudo ln -s /usr/share/phpmyadmin/ /usr/share/nginx/html/phpmyadmin
serve phpmyadmin.app /usr/share/nginx/html/phpmyadmin
hosts
fileNotepad
as Administrator, then open navigate to C:\Windows\System32\drivers\etc
.*.*
and press Enter in File name box to see it.hosts
and click Open button.phpmyadmin.app
at the bottom of the file like so, 127.0.0.1 phpmyadmin.app
http://phpmyadmin.app:8000
and you should now see phpMyAdmin login page.root
using password secret
Users
and create a user for your app and set privileges as you see fit.