It's not the command that needs the database, but php artisan needs it somehow. You can easily fix this by creating a dummy database or even a sqlite database ;)
Oct 7, 2015
4
Level 1
php artisan route:list [PDOException] SQLSTATE[28000] [1045] Access denied for user 'homestead'@'localhost' (using password: YES)
Hi Guys,
First of all, I'm new to Laravel :)
Can anyone explain me what is the relationship between php artisan route:list and the database. When I'm trying to run php artisan route:list command it gives me "[PDOException] SQLSTATE[28000] [1045] Access denied for user 'homestead'@'localhost' (using password: YES) "
but the route is working fine. Not sure what the logic behind.
Thanks
Please or to participate in this conversation.