You can change the max_connections
value by either updating the default parameter policy or create a new one - I'd suggest going with the latter.
- Go to RDS
- Parameter Groups
- Create a new Parameter Group (AWS wil leave everything as default)
- search for the
max_connections
value - Change the value to use
- Go to RDS instance and modify
- Select new Parameter group created and restart the instance or let AWS reboot it during next maintenance window
参考:
https://serverfault.com/questions/862387/aws-rds-connection-limits