I'm new to laravel and I'm exploring how to do migrations. I created a new users table and when I run "php artisan migrate"
it gives me "[PDOException] SQLSTATE[HY000] [2002] No connection could be made because the target machine actively refused it."
. I run "composer dump-autoload"
then did "composer install"
but no joy. I configured my .env file like below:
DB_CONNECTION=mysql
DB_HOST=127.0.0.1
DB_PORT=3306
DB_DATABASE=francis
DB_USERNAME=homestead
DB_PASSWORD=secret