lukaisailovic
6 months ago

Laravel Access denied for user 'root'@'localhost' sometimes ?

Posted 6 months ago by lukaisailovic

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 ?

Please sign in or create an account to participate in this conversation.