I seem to be having a problem with artisan reading the default config/database.php file.
When I run for php artisan migrate:status
- or any other migration related commands I get
exception 'PDOException' with message 'SQLSTATE[28000] [1045] Access denied for user 'homestead'@'localhost' (using password: YES)'
even though the default database connection name is set to sqlite
, which doesn't require credentials of any kind.
My .env has APP_ENV=local
and I'm running it under the local environment with PHP 5.6.2 using Mamp.