A situation that is more depressed,
php artisan migrateSuccessful execution
But when used on the page, it prompts the database connection to fail.
I use the Laravel5.2 version, according to the official website prompts, composer original download down, and then executed php artisan make:auth , modified the. env file database connection.
Then execute php artisan migrate the command to successfully migrate the database. There are no errors.
But after returning to the page, click Register, fill out the registration form
Ask for advice.
Reply content:
A situation that is more depressed,
php artisan migrateSuccessful execution
But when used on the page, it prompts the database connection to fail.
I use the Laravel5.2 version, according to the official website prompts, composer original download down, and then executed php artisan make:auth , modified the. env file database connection.
Then execute php artisan migrate the command to successfully migrate the database. There are no errors.
But after returning to the page, click Register, fill out the registration form
Ask for advice.
Take a look at your. env configuration file, and also the Config/database file