title: Laravel Queue error when using database driver
body: <p>I'm getting the following error when pushing a job to a laravel 5.2 Queue, using the database driver.</p>
  
  <blockquote>
    <p>exception 'InvalidArgumentException' with message 'No connector for
    []' in
    /var/www/krsa/vendor/laravel/framework/src/Illuminate/Queue/QueueManager.php:150</p>
  </blockquote>
  
  <p>The queue is running with supervisor and the following setup</p>
  
  <pre><code>[program:krsa-worker]
  process_name=%(program_name)s_%(process_num)02d
  command=php /var/www/krsa/artisan queue:work —tries=3 --daemon
  autostart=true
  autorestart=true
  user=root
  redirect_stderr=true
  stdout_logfile=/var/www/krsa/supervisor/worker.log
  </code></pre>
  
  <p>.env file points to the database driver</p>
  
  <pre><code>QUEUE_DRIVER=database
  </code></pre>
  
  <p>config/queue.php file has correct settings:</p>
  
  <pre><code>'database' =&gt; [
              'driver' =&gt; 'database',
              'table' =&gt; 'jobs',
              'queue' =&gt; 'default',
              'expire' =&gt; 60,
          ],
  </code></pre>
  
  <p>table <code>jobs</code> exists and has the correct columns.</p>
  
  <p>The same settings work on another project on a different server.
  I've made composer update and made sure all dependencies are installed, unless there are extra dependencies I am not aware of for the database driver.</p>
  
  <p>Can't figure out why Laravel is not picking up the connector/driver. Any help would be greatly appreciated.</p>
  
  <p><strong><em>UPDATE</em></strong>
  When I run <code>php artisan queue:work</code> the queue processes all jobs correctly.</p>