Laravel 5 error SQLSTATE[HY000] [1045] Access denied for user ‘homestead’@’localhost’ (using password: YES)

I was facing the same issue. Everything was fine but in

bootstrap/cache/config.php

always had the incomplete password. Upon digging further, realized that the password had ‘#’ character in it and that was getting dropped. As ‘#’ is used to mark a line as a comment.

Leave a Comment

Hata!: SQLSTATE[HY000] [1045] Access denied for user 'divattrend_liink'@'localhost' (using password: YES)