Tuesday, January 23, 2018

Laravel: Access denied for user 'homestead'@'localhost' (using password: YES)

If you have changed your database credentials in .env file as well in database.php file and you still face the problem then use  the below commands.

php artisan config:clear
php artisan cache:clear
php artisan config:cache

and if you face "Laravel 5 Class 'form' not found"
You can also try running the following commands in Terminal or Command:
1. composer dump-auto or composer dump-auto -o
2. php artisan cache:clear
3. php artisan config:clear

How to backup and download Database using PHP

< ?php $mysqlUserName = 'databaseusername' ; $mysqlPassword = 'databasepassword' ; $mysqlHostNa...