MySQL Connection Pool Sizing: max_connections Folklore vs Reality
Raising max_connections is the most common MySQL tuning move and usually the wrong one. Here is how thread-per-connection actually costs you, why Threads_running is the real signal, and how to size app pools and ProxySQL with actual math.