Deployment error: SQLSTATE[HY000]

Last update: 2023-07-27
  • Topics:
  • Deploy
    View more on this topic
  • Created for:
  • Developer

This article provides a solution for the issue where deployment fails because of the SQLSTATE[HY000] error.

Affected products and versions


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:
./vendor/bin/ece-tools cron:disable.

On this page