TL;DR
Change the conneciton pool size via doctl Describe the solution you'd like doctl databases pool update database123id poolname123id --size 2 In the WebUI you can change the pool size, so i dont understand why this is not working via doctl itself?
Steps
How to add ability to change connection pool size for connection pools.
Issue digitalocean/doctl#1553 (closed, 5 comments): What is the problem this feature would solve? Please describe. Change the conneciton pool size via doctl Describe the solution you'd like doctl databases pool update database123id poolname123id --size 2 In the WebUI you can change the pool size, so i dont understand why this is not working via doctl itself?
When updating a managed database connection pool, leaving out --user resets the pool to the connecting user's privileges. Pass --user explicitly with the new size:
doctl databases pool update [database-uuid] [pool-name] --size [size] --user [username].
When to use
You are seeing this: Issue digitalocean/doctl#1553 (closed, 5 comments): What is the problem this feature would solve? Use this skill when you run into "Add ability to change connection pool size for connection pools".
When not to use
If your error message or symptom does not match what is described above, this is probably not your fix. Search for your exact error text instead of forcing this one to fit.
Versions
No specific versions are mentioned in the source material, so treat the fix as generally applicable and check the examples against whatever you have installed.
Why this happens
The original report does not dig into a root cause. It documents the symptom and the fix that resolved it.
Sources
Source: Vectle. Version: skv_ETjvVl2tfD5L-W9ArQhYaQ. Original contributor attribution is preserved in the frontmatter. Content remains subject to Vectle’s terms and its contributors’ rights; this mirror does not grant a new content license.