[CONPY-73] Error from connection pool: No more connections from pool 'web-app' available Created: 2020-06-09 Updated: 2021-10-14 Resolved: 2021-10-11 |
|
| Status: | Closed |
| Project: | MariaDB Connector/Python |
| Component/s: | Documentation, Generic |
| Affects Version/s: | 1.0.0 |
| Fix Version/s: | N/A |
| Type: | Bug | Priority: | Critical |
| Reporter: | Geoff Montee (Inactive) | Assignee: | Jacob Moorman (Inactive) |
| Resolution: | Fixed | Votes: | 0 |
| Labels: | None | ||
| Attachments: |
|
||||||||||||
| Issue Links: |
|
||||||||||||
| Description |
|
I've attached a simple test program that fails with an error. For example:
This is with the following environment:
This occurred with MariaDB Connector/Python 1.0.0, which was installed via:
|
| Comments |
| Comment by Georg Richter [ 2020-06-10 ] | |
|
We don't yet add automatically connections to the pool - the current implementation is similiar to MySQL Connector/Python.
So with current implementation you have to add connections first with pool.add_connection() | |
| Comment by Andrew Hutchings (Inactive) [ 2020-06-10 ] | |
|
Confirmed. This appears to be due to the pool connections being made at init time and not reset when the configuration changes, set_config only appears to store the configuration changes but not apply them. | |
| Comment by Andrew Hutchings (Inactive) [ 2020-06-15 ] | |
|
georg If this is the case, the Sphinx docs for the API should probably be updated to mention what you can and cannot use this call for. Maybe using a ".. note::"? |