Friday, March 17, 2017

SQLSTATE[HY000] [1045] Access denied for user 'homestead'@'localhost' (using password: YES) in Laravel

i am new to Laravel..i already go through the documentation..i did login and register pages by using auth artisan command.. So i am trying to store the values from registration page when i click on the submit button i got this error.

SQLSTATE[HY000] [1045] Access denied for user 'homestead'@'localhost' (using password: YES) (SQL: select count(*) as aggregate from users where email = xxxxxx@gmail.com)

Please help me where i did mistake..

Thanks in advance..



via bharathi

Advertisement