Quantcast
Channel: Getting error "Access denied for user 'homestead'@'localhost'" in PHP-LARAVEL - Stack Overflow
Viewing all articles
Browse latest Browse all 3

Getting error "Access denied for user 'homestead'@'localhost'" in PHP-LARAVEL

$
0
0

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?


Viewing all articles
Browse latest Browse all 3

Latest Images

Trending Articles





Latest Images

<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>
<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596344.js" async> </script>