• Sources: primary
  • Summary: Hyperdrive rewrites MySQL result sets when a Worker driver such as mysql2 lacks CLIENT_DEPRECATE_EOF, while Client and Endpoint nodes in one data center share a cache keyed on the query. A faulty assumption in the Client caching code produced empty responses about 0.001% of the time for caching-enabled instances. The post also covers utf8 versus utf8mb4 and COM_RESET_CONNECTION resetting the character set to the server default.
  • Why it matters: Anyone building a MySQL proxy or pooler gets concrete protocol pitfalls around capability negotiation, cached bytes, and connection reset.