Starting for AWS Cloudwatch logs, we spent a week looking into 'Aborted Connection" errors on RDS. Finally, we figured out that although Lambda functions do not share a connection pool, the queries in the same function do share a connection pool, so we should keep on using the pool, but we should set the pool with min 0, so it could be destroyed without taking space. And the ultimate solution is to use Amazon RDS.
In recent times, many developers have encountered challenges when using the mysql2 package alongside Knex migrations, especially when dealing with changes in certificate authorities (CAs) for AWS RDS databases. This blog post aims to shed light on how upgrading mysql2 and making adjustments in the setup can resolve such issues effectively.