dimanche 31 juillet 2016

DB_HOST and Browser Settings For Laravel App

I'm putting together a Laravel 5.2 application and using Homestead with it. When I need to migrate my database these are the settings that I have set up that allows me to do migrate. However if I want to use these in my browswer then I have to switch 127.0.0.1 to localhost. Why do I have to do this and how do I fix that?

DB_CONNECTION=mysql
DB_HOST=127.0.0.1
DB_PORT=33060
DB_DATABASE=homestead    
DB_USERNAME=homestead
DB_PASSWORD=secret



from Newest questions tagged laravel-5 - Stack Overflow http://ift.tt/2aCIxvo
via IFTTT

Aucun commentaire:

Enregistrer un commentaire