This article provides a solution for the issue where deployment fails because of the SQLSTATE[HY000] error.
Affected products and versions
- Adobe Commerce, all deployment methods
An SQLSTATE error occurs during deployment.
Updating modules: SQLSTATE[HY000]: General error: 23 Out of resources when opening file '/tmp/#sql_565c_0.MAD' (Errcode: 24 "Too many open files"),
Cron running during deployment.
To resolve the issue, stop cron from running by opening the command line and running the following command: