[英]issue in connecting Laravel 7 with Postgres 12.4 using SSL in AWS RDS
If I try to connect the Laravel 7 (PHP 7.3) app with PostgreSQL 12.4 in AWS RDS through SSL, it's throwing this error如果我尝试通过 SSL 将 Laravel 7 (PHP 7.3) 应用程序与 AWS RDS 中的 PostgreSQL 12.4 连接,则会引发此错误
SQLSTATE[08006] [7] SSL SYSCALL error: Connection reset by peer (SQL: select column_name from information_schema.columns where table_schema = public and table_name = roles)
It is working fine with PostgreSQL 11.8, the above error is throwing only for PostgreSQL 12,它在 PostgreSQL 11.8 上运行良好,上述错误仅在 PostgreSQL 12 上引发,
Could anyone help on this, Thanks in advance.任何人都可以帮助解决这个问题,提前致谢。
我找到了这个问题的原因,是由于RDS和应用程序Web服务器中的协议版本不匹配。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.