SQLSTATE[HY000] [2002] Connection refused within Laravel homestead
I just ran into this and found that changing this in the .env file from 127.0.0.1 to localhost fixed it. DB_HOST=localhost
I just ran into this and found that changing this in the .env file from 127.0.0.1 to localhost fixed it. DB_HOST=localhost
After trying a lot of passwords and becoming totally confused why my public key password is not working I found out that I have to use vagrant as password. Maybe this info helps someone else too – that’s because I’ve written it down here. Edit: According to the Vagrant documentation, there is usually a default … Read more
You want to follow these steps from terminal Generate a ssh key ssh-keygen -t rsa -b 4096 -C “your_email@example.com” Start ssh agent eval “$(ssh-agent -s)” Add your SSH private key to the ssh-agent ssh-add -k ~/.ssh/id_rsa Then run vagrant up
The reason of Access denied for user ‘homestead’@’localhost’ laravel 5 error is caching-issue of the .env.php file cause Laravel 5 is using environment based configuration in your .env file. 1. Go to your application root directory and open .env file (In ubuntu may be it’s hidden so press ctrl+h to show hidden files & if … Read more