{"action":"created","issue":{"url":"https://api.github.com/repos/laravel/framework/issues/11683","repository_url":"https://api.github.com/repos/laravel/framework","labels_url":"https://api.github.com/repos/laravel/framework/issues/11683/labels{/name}","comments_url":"https://api.github.com/repos/laravel/framework/issues/11683/comments","events_url":"https://api.github.com/repos/laravel/framework/issues/11683/events","html_url":"https://github.com/laravel/framework/issues/11683","id":124834949,"number":11683,"title":"L5.1 Failed Jobs always tried to call MySQL, but I'm using PostgreSQL ","user":{"login":"Jaspur","id":4254854,"avatar_url":"https://avatars.githubusercontent.com/u/4254854?v=3","gravatar_id":"","url":"https://api.github.com/users/Jaspur","html_url":"https://github.com/Jaspur","followers_url":"https://api.github.com/users/Jaspur/followers","following_url":"https://api.github.com/users/Jaspur/following{/other_user}","gists_url":"https://api.github.com/users/Jaspur/gists{/gist_id}","starred_url":"https://api.github.com/users/Jaspur/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Jaspur/subscriptions","organizations_url":"https://api.github.com/users/Jaspur/orgs","repos_url":"https://api.github.com/users/Jaspur/repos","events_url":"https://api.github.com/users/Jaspur/events{/privacy}","received_events_url":"https://api.github.com/users/Jaspur/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":2,"created_at":"2016-01-04T20:41:42Z","updated_at":"2017-01-30T11:29:00Z","closed_at":"2016-01-04T21:54:25Z","body":"When a job is failing, it should try to write the error to the default queue's failed_jobs table. But it gives an exception:\n\n```\nPDOException · vendor/laravel/framework/src/Illuminate/Database/Connectors/Connector.php:55\nSQLSTATE[HY000] [2002] No such file or directory\n```\n\nSQLSTATE[HY000] [2002] is a MySQL-error. And that is correct, because I deleted MySQL from the Server and I'm using PostgreSQL everywhere as connection. But for some reason it tries to connect to MySQL? In my .env I have `DB_CONNECTION=pgsql`\n"},"comment":{"url":"https://api.github.com/repos/laravel/framework/issues/comments/276039611","html_url":"https://github.com/laravel/framework/issues/11683#issuecomment-276039611","issue_url":"https://api.github.com/repos/laravel/framework/issues/11683","id":276039611,"user":{"login":"Jaspur","id":4254854,"avatar_url":"https://avatars.githubusercontent.com/u/4254854?v=3","gravatar_id":"","url":"https://api.github.com/users/Jaspur","html_url":"https://github.com/Jaspur","followers_url":"https://api.github.com/users/Jaspur/followers","following_url":"https://api.github.com/users/Jaspur/following{/other_user}","gists_url":"https://api.github.com/users/Jaspur/gists{/gist_id}","starred_url":"https://api.github.com/users/Jaspur/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Jaspur/subscriptions","organizations_url":"https://api.github.com/users/Jaspur/orgs","repos_url":"https://api.github.com/users/Jaspur/repos","events_url":"https://api.github.com/users/Jaspur/events{/privacy}","received_events_url":"https://api.github.com/users/Jaspur/received_events","type":"User","site_admin":false},"created_at":"2017-01-30T11:29:00Z","updated_at":"2017-01-30T11:29:00Z","body":"@nikosv in ```config.queue```: \r\n\r\n```\r\n'failed'      => [\r\n        'database' => env('DB_CONNECTION', 'mysql'),\r\n        'table'    => 'failed_jobs',\r\n    ],\r\n```\r\nBut that was already fixed by a PR I did, so a fresh config pull from the 5.1 branch also worked."}}
{"actor":{"display_login":"Jaspur"}}