我的 RDS db instance of class db.t2.micro
有 18 个事件连接,因为 RDS db instance of class db.t2.micro
最多有 66 个连接,但我正面临这个问题
Unable to connect to the database: { [SequelizeConnectionError: remaining connection slots are reserved for non-replication superuser and rds_superuser connections]
最佳答案
选择所有连接,而不仅仅是事件连接。冲田
max_connections (integer) Determines the maximum number of concurrent connections to the database server. The default is typically 100 connections, but might be less if your kernel settings will not support it (as determined during initdb). This parameter can only be set at server start.
When running a standby server, you must set this parameter to the same or higher value than on the master server. Otherwise, queries will not be allowed in the standby server.
关于postgresql - SequelizeConnectionError 无法连接到数据库,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/40968010/