Comments (2)
I had the same prob. I had to catch the PDOException and do manually:
$this->adapter->getDriver()->getConnection()->disconnect();
so next time the worker tries to consume a message it will create a new connection.
In doctrine/dbal
they've implemented a pingable connection to verify the connection: Connection.php
Maybe it makes sense for this case.
Originally posted by @monteiro at zendframework/zend-db#302 (comment)
from laminas-db.
This package is considered feature-complete, and is now in security-only maintenance mode, following a decision by the Technical Steering Committee.
If you have a security issue, please follow our security reporting guidelines.
If you wish to take on the role of maintainer, please nominate yourselfIf you are looking for an actively maintained package alternative, we recommend:
from laminas-db.
Related Issues (20)
- Query with multiple group by columns crashes in PHP 8 HOT 2
- qa: PhpUnit >= 9.0 Call to undefined method assertInternalType HOT 1
- Select from Combine HOT 3
- Predicate methods claim to return self (actually: $this or static)
- ResultSet setArrayObjectProperty incorrect check HOT 2
- Ddl Missing support for character set / encoding
- Symbol "#" is valid for identifiers for Oracle platform HOT 5
- CI seems broken (2.14 is unusable) HOT 6
- PHP Deprecated error with PDO::quote() in PHP 8.1 HOT 2
- Make an 'or' and 'and' method in Laminas\Db\Sql\Predicate\Predicate?
- Dependency Dashboard
- How to run multiple SQL queries HOT 1
- pdo_sqlsrv driver_options are passed to pdo options instead of dsn HOT 3
- PostgresqlMetadata Retrieve trigger throw exception HOT 5
- PHP 8.2 Deprecated: Creation of dynamic property in Laminas\Db\Adapter\Driver\Pdo\Pdo->setProfiler() HOT 1
- JOIN incorrect or missing type HOT 4
- Select::having() can get an Having as parameter HOT 1
- DISTINCT does not work for MSSQL databases
- DB Migration HOT 1
- Bug with accents for my columns HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from laminas-db.