sqlstate[hy000] [1045] access denied for user ‘root’@’localhost’ (using password: no)

SQLSTATE[HY000] [1045] Access denied for user ‘root’@’localhost’ (using password: NO) (SQL: select * from `users` where `email` = something@gmail.com limit 1)

php artisan route:cache
php artisan route:clear
php artisan config:clear
php artisan cache:clear
php artisan optimize