Skip to content

Commit

Permalink
Merge pull request #3 from peelandsee/master
Browse files Browse the repository at this point in the history
close #2
  • Loading branch information
peelandsee committed Dec 15, 2014
2 parents 4e6c292 + d9ce320 commit 5642696
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 5 deletions.
6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
[![Latest Stable Version](https://poser.pugx.org/facile-it/doctrine-mysql-come-back/v/stable.svg)](https://packagist.org/packages/facile-it/doctrine-mysql-come-back) [![Total Downloads](https://poser.pugx.org/facile-it/doctrine-mysql-come-back/downloads.svg)](https://packagist.org/packages/facile-it/doctrine-mysql-come-back) [![Latest Unstable Version](https://poser.pugx.org/facile-it/doctrine-mysql-come-back/v/unstable.svg)](https://packagist.org/packages/facile-it/doctrine-mysql-come-back) [![License](https://poser.pugx.org/facile-it/doctrine-mysql-come-back/license.svg)](https://packagist.org/packages/facile-it/doctrine-mysql-come-back)
# DoctrineMySQLComeBack

Auto reconnect on Doctrine MySql has gone away exceptions on doctrine/dbal 2.3.x.
Auto reconnect on Doctrine MySql has gone away exceptions on doctrine/dbal >=2.3,<2.5-dev.

Tested with doctrine/dbal >=2.3,<2.4-dev, but could works with other versions.
No more required on doctrine/dbal 2.5.x, thanks to [this](https://github.com/doctrine/dbal/pull/414).

# Installation

Expand Down Expand Up @@ -77,4 +77,4 @@ Instead, in case your next query will be a SELECT, reconnection will be automagi

# Thanks

Thanks to Dieter Peeters and his proposal on [DBAL-275](http://www.doctrine-project.org/jira/browse/DBAL-275). Check it out if you are using doctrine/dbal 2.1.x.
Thanks to Dieter Peeters and his proposal on [DBAL-275](http://www.doctrine-project.org/jira/browse/DBAL-275). Check it out if you are using doctrine/dbal <2.3.
5 changes: 3 additions & 2 deletions composer.json
Original file line number Diff line number Diff line change
@@ -1,8 +1,9 @@
{
"name": "facile-it/doctrine-mysql-come-back",
"description": "Auto reconnect on Doctrine MySql has gone away exceptions on doctrine/dbal 2.3.x",
"description": "Auto reconnect on Doctrine MySql has gone away exceptions on doctrine/dbal",
"keywords": ["mysql","doctrine","reconnect","refresh","connection","has gone away","exception"],
"require": {
"doctrine/dbal": ">=2.3,<2.4-dev"
"doctrine/dbal": ">=2.3,<2.5-dev"
},
"license": "Apache License Version 2.0",
"authors": [
Expand Down

0 comments on commit 5642696

Please sign in to comment.