0

When I tried to run php artisan migrate with laravel, I received the following error: ""

[PDOException] SQLSTATE[HY000] [2002] Connection refused

How do I resolve this issue? I've seen other stackoverflow posts such as Laravel 5 php artisan migrate does not work with similar problems. However, they have a different error message while I have "Connection refused". Any assistance would be greatly appreciated. Thank you!

Community
  • 1
  • 1
Bob
  • 129
  • 2
  • 9

1 Answers1

0

Make sure sql is running on your computer. Then check the .env file.