{"action":"opened","issue":{"url":"https://api.github.com/repos/laravel/framework/issues/9367","labels_url":"https://api.github.com/repos/laravel/framework/issues/9367/labels{/name}","comments_url":"https://api.github.com/repos/laravel/framework/issues/9367/comments","events_url":"https://api.github.com/repos/laravel/framework/issues/9367/events","html_url":"https://github.com/laravel/framework/issues/9367","id":90074582,"number":9367,"title":"Automatically retry beginTransaction() when hit connection \"gone away\" issue","user":{"login":"sookteng","id":6712900,"avatar_url":"https://avatars.githubusercontent.com/u/6712900?v=3","gravatar_id":"","url":"https://api.github.com/users/sookteng","html_url":"https://github.com/sookteng","followers_url":"https://api.github.com/users/sookteng/followers","following_url":"https://api.github.com/users/sookteng/following{/other_user}","gists_url":"https://api.github.com/users/sookteng/gists{/gist_id}","starred_url":"https://api.github.com/users/sookteng/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sookteng/subscriptions","organizations_url":"https://api.github.com/users/sookteng/orgs","repos_url":"https://api.github.com/users/sookteng/repos","events_url":"https://api.github.com/users/sookteng/events{/privacy}","received_events_url":"https://api.github.com/users/sookteng/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2015-06-22T11:28:09Z","updated_at":"2015-06-22T11:28:09Z","closed_at":null,"body":"Noticed there is auto retry on database queries when connection lost, but not in [beginTransaction()](https://github.com/laravel/framework/blob/5.1/src/Illuminate/Database/Connection.php#L487). Any reason for this discrepancy?\r\n\r\nI am getting `PDO::beginTransaction(): MySQL server has gone away` error frequently in my application, so I wish it has the auto retry too.\r\n\r\nPlease advice if it is possible. Thanks.\r\n"}}