I am new to php-laravel. I am learning laravel from this tutorial on laracast:
https://laracasts.com/series/laravel-5-from-scratch/episodes/7?autoplay=true
I wrote code like this video but I am getting the following errors for the database, and I do not understand:
[Illuminate\Database\QueryException]
SQLSTATE[HY000] [1045] Access denied for user 'homestead'@'localhost' (using password: YES) (SQL: select * from information_schema.tables
where table_schema = homestead and table_name = migrations)[PDOException]
SQLSTATE[HY000] [1045] Access denied for user 'homestead'@'localhost' (using password: YES)
Does anyone have any idea how to solve it?