Hi,
While troubleshooting a queue issue I ran php artisan queue:run --stop-when-empty
and I got this error at the very end:
> 2023-01-17 17:34:05 App\Jobs\Ninja\BankTransactionSync ............................................ RUNNING
> 2023-01-17 17:34:05 App\Jobs\Ninja\BankTransactionSync ....................................... 14.24ms FAIL
>
> Illuminate\Database\QueryException
>
> SQLSTATE[HY000] [1045] Access denied for user 'forge'@'localhost' (using password: YES) (SQL: select * from information_schema.tables where table_schema = forge and table_name = accounts and table_type = 'BASE TABLE')
>
> at vendor/laravel/framework/src/Illuminate/Database/Connection.php:760
> 756β // If an exception occurs when attempting to run a query, we'll format the error
> 757β // message to include the bindings with SQL, which will make this exception a
> 758β // lot more helpful to the developer instead of just the database's errors.
> 759β catch (Exception $e) {
> β 760β throw new QueryException(
> 761β $query, $this->prepareBindings($bindings), $e
> 762β );
> 763β }
> 764β }
>
> 1 [internal]:0
> Illuminate\Foundation\Bootstrap\HandleExceptions::Illuminate\Foundation\Bootstrap\{closure}(Object(Illuminate\Database\QueryException))
>
> +15 vendor frames
> 17 app/Exceptions/Handler.php:81
> Illuminate\Support\Facades\Facade::__callStatic("hasTable")
I donβt use bank transactions yet, but I thought I should report this anyway!
Thanks