I have changed my database Password (PHPMyadmin - Database Password) for security purposes. After updating my database password, my website throwing errors.
If you have changed your database password, you need to update the same in .env file too.
.env file will be present in public_html/.env
Open .env file & update the Password in DB_PASSWORD
hi @Saurabh any idea why this error coming after login admin dashboard?
i had change all database info correctly at env file
tq
surya90 did you run any artisan command like php artisan config:cache ?
php artisan config:cache
If yes, run php artisan config:clear and validate your env file again. If your db credentials are correct, there should not be any issue. (Check database endpoint url too)
php artisan config:clear
surya90 login to cpanel
MySQL® Databases Manage User Privileges KLIK ALL PRIVILEGES and make changes