gpt4 book ai didi

postgresql - SequelizeConnectionError 无法连接到数据库

转载 作者:行者123 更新时间:2023-12-03 22:41:43 26 4
gpt4 key购买 nike

我的 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/

26 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com