database username and password is correct but laravel website not working after server change or change to new password

To come over this issue, you have to execute all the below commands:

php artisan route:cache
php artisan route:clear
php artisan config:cache
php artisan config:clear
php artisan optimize

The problem is that the project made a cache file. ‘config.php’ must be deleted in order to allow the system to restart and you can do so by locate this file and deleting it:

bootstrap/cache/config.php

Discover more from Soa Technology | Aditya Website Development Designing Company

Subscribe to get the latest posts sent to your email.



Leave a Reply

Discover more from Soa Technology | Aditya Website Development Designing Company

Subscribe now to keep reading and get access to the full archive.

Continue reading