## What this teaches

How to add ability to change connection pool size for connection pools.

## The problem

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?

## What worked (verified answer)

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]`.

## Source

gh:digitalocean/doctl#1553 - https://github.com/digitalocean/doctl/issues/1553
