I have setup Laravel and trying to run the artisan migrate command however I am getting the error [PDOException]
SQLSTATE[HY000] [2002] Connection refused.
I am not sure how db is setup in Homestead. So I got the below questions.
I understand that creating MySQL db is out of the scope of Laravel tutorial; So it would be helpful if anyone can answer these questions and point me in right direction. Thanks.
Did you read the documentation: http://laravel.com/docs/homestead#installation-and-setup
Yes I did and it does not talk about creation database before running migration. I did whatever is mentioned and it does not work.
I wonder how would it work without setting up the db? It would be great if anyone can answer my questions.
Sign in to participate in this thread!
The Laravel portal for problem solving, knowledge sharing and community building.
The community