Error connecting to Amazon RDS (MySQL) from node-mysql

眉间皱痕 提交于 2019-12-04 15:42:55

I fixed it. The issue was with the timeout setting in Lambda function configuration. It was set to 3 sec, but my script needed more than 10 seconds to execute. That's the reason I got the ETIMEDOUT error. I changed the setting to 30 seconds. Now no issues, everything works fine.

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!