Summarize the problem
My PDO (MySQL) connection is disconnected during execution of the code. The connection is created successfully, but around 0.05% of the time the Error log reports a disconnection.
Provide details and any research
Created wrapper functions and debug statements. https://www.php.net/manual/en/pdo.construct.php https://www.php.net/manual/en/pdo.prepare.php
When appropriate, describe what you’ve tried
I have tried to backtrace the code in the logs with debug_backtrace.
I would like to know what might cause a PDO MySQL connection to be disconnected?