When I run the command
php artisan queue:flush --env=dev --verbose
I get the error:
[PDOException]
SQLSTATE[28000] [1045] Access denied for user 'mysql'@'localhost' (using password: YES)
mysql
is not the user for any real database. It is the dummy default in config/database.php
, which is overridden for my dev
environment and production
environments (which are in working order). So when I have artisan queue:flush
(explicitely or not) use dev
, it somehow is calling an environment that does not actually exist. I'm not sure how to debug queues to see if all of my queues are operating in this mystery environment or not, but it seems like queues don't work.
Sign in to participate in this thread!
The Laravel portal for problem solving, knowledge sharing and community building.
The community