Along with connection and pool, add acquireConnectionTimeout, and give this a big value. This worked for me. I had to take Strapi support inputs to resolve this! In my case, I noted that the error would occur after 60 seconds. I tried multiple connection pool configurations and the issue repeated until adding acquireConnectionTimeout.