Laravel Access denied for user 'root'@'localhost' sometimes ?
I have a weird issue. I get Access denied for user 'root'@'localhost' whenever any query executes (I try to display it or whatever).
The weird thing that got me confused is that it works normally for php artisan migrate and php artisan db:seed (I've manually checked the database, its all there and rows are present inside tables too).
I've tried config:clear, cache:clear etc but nothing helps. Any idea what should I do ?