barryvdh / laravel-async-queue

Laravel Async Queue Driver
286 stars 76 forks source link

Errro Unknown error while connecting #85

Open FuriosoJack opened 5 years ago

FuriosoJack commented 5 years ago

Hello when disapatch Job in Storage logs show this error and not execute JOB

[2019-07-16 09:40:45] local.ERROR: SQLSTATE[HY000] [2002] Unknown error while connecting (SQL: select * fromjobswhereid= 273 limit 1) {"exception":"[object] (Illuminate\\Database\\QueryException(code: 2002): SQLSTATE[HY000] [2002] Unknown error while connecting (SQL: select * fromjobswhereid` = 273 limit 1) at C:\Users\Juan\pccor\pccorPublic\vendor\laravel\framework\src\Illuminate\Database\Connection.php:664, PDOException(code: 2002): SQLSTATE[HY000] [2002] Unknown error while connecting at C:\Users\Juan\pccor\pccorPublic\vendor\laravel\framework\src\Illuminate\Database\Connectors\Connector.php:70) [stacktrace]

0 C:\Users\Juan\pccor\pccorPublic\vendor\laravel\framework\src\Illuminate\Database\Connection.php(624): Illuminate\Database\Connection->runQueryCallback('select * from `...', Array, Object(Closure))

1 C:\Users\Juan\pccor\pccorPublic\vendor\laravel\framework\src\Illuminate\Database\Connection.php(333): Illuminate\Database\Connection->run('select * from `...', Array, Object(Closure))

2 C:\Users\Juan\pccor\pccorPublic\vendor\laravel\framework\src\Illuminate\Database\Query\Builder.php(2124): Illuminate\Database\Connection->select('select * from `...', Array, true)

3 C:\Users\Juan\pccor\pccorPublic\vendor\laravel\framework\src\Illuminate\Database\Query\Builder.php(2112): Illuminate\Database\Query\Builder->runSelect()

4 C:\Users\Juan\pccor\pccorPublic\vendor\laravel\framework\src\Illuminate\Database\Query\Builder.php(2598): Illuminate\Database\Query\Builder->Illuminate\Database\Query\{closure}()

5 C:\Users\Juan\pccor\pccorPublic\vendor\laravel\framework\src\Illuminate\Database\Query\Builder.php(2113): Illuminate\Database\Query\Builder->onceWithColumns(Array, Object(Closure))

6 C:\Users\Juan\pccor\pccorPublic\vendor\laravel\framework\src\Illuminate\Database\Concerns\BuildsQueries.php(77): Illuminate\Database\Query\Builder->get(Array)

7 C:\Users\Juan\pccor\pccorPublic\vendor\barryvdh\laravel-async-queue\src\AsyncQueue.php(116): Illuminate\Database\Query\Builder->first()

8 C:\Users\Juan\pccor\pccorPublic\vendor\barryvdh\laravel-async-queue\src\Console\AsyncCommand.php(78): Barryvdh\Queue\AsyncQueue->getJobFromId('273')

9 C:\Users\Juan\pccor\pccorPublic\vendor\barryvdh\laravel-async-queue\src\Console\AsyncCommand.php(58): Barryvdh\Queue\Console\AsyncCommand->processJob('async', '273', Object(Illuminate\Queue\WorkerOptions))

10 [internal function]: Barryvdh\Queue\Console\AsyncCommand->handle(Object(Illuminate\Queue\WorkerOptions))

11 C:\Users\Juan\pccor\pccorPublic\vendor\laravel\framework\src\Illuminate\Container\BoundMethod.php(32): call_user_func_array(Array, Array)

12 C:\Users\Juan\pccor\pccorPublic\vendor\laravel\framework\src\Illuminate\Container\BoundMethod.php(90): Illuminate\Container\BoundMethod::Illuminate\Container\{closure}()

13 C:\Users\Juan\pccor\pccorPublic\vendor\laravel\framework\src\Illuminate\Container\BoundMethod.php(34): Illuminate\Container\BoundMethod::callBoundMethod(Object(Illuminate\Foundation\Application), Array, Object(Closure))

14 C:\Users\Juan\pccor\pccorPublic\vendor\laravel\framework\src\Illuminate\Container\Container.php(576): Illuminate\Container\BoundMethod::call(Object(Illuminate\Foundation\Application), Array, Array, NULL)

15 C:\Users\Juan\pccor\pccorPublic\vendor\laravel\framework\src\Illuminate\Console\Command.php(183): Illuminate\Container\Container->call(Array)

16 C:\Users\Juan\pccor\pccorPublic\vendor\symfony\console\Command\Command.php(255): Illuminate\Console\Command->execute(Object(Symfony\Component\Console\Input\ArgvInput), Object(Illuminate\Console\OutputStyle))

17 C:\Users\Juan\pccor\pccorPublic\vendor\laravel\framework\src\Illuminate\Console\Command.php(170): Symfony\Component\Console\Command\Command->run(Object(Symfony\Component\Console\Input\ArgvInput), Object(Illuminate\Console\OutputStyle))

18 C:\Users\Juan\pccor\pccorPublic\vendor\symfony\console\Application.php(921): Illuminate\Console\Command->run(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))

19 C:\Users\Juan\pccor\pccorPublic\vendor\symfony\console\Application.php(273): Symfony\Component\Console\Application->doRunCommand(Object(Barryvdh\Queue\Console\AsyncCommand), Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))

20 C:\Users\Juan\pccor\pccorPublic\vendor\symfony\console\Application.php(149): Symfony\Component\Console\Application->doRun(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))

21 C:\Users\Juan\pccor\pccorPublic\vendor\laravel\framework\src\Illuminate\Console\Application.php(90): Symfony\Component\Console\Application->run(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))

22 C:\Users\Juan\pccor\pccorPublic\vendor\laravel\framework\src\Illuminate\Foundation\Console\Kernel.php(133): Illuminate\Console\Application->run(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))

23 C:\Users\Juan\pccor\pccorPublic\artisan(35): Illuminate\Foundation\Console\Kernel->handle(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))

24 {main}

"} `