v.19.10Improvement

Using Sessions for Connections with Mysql Compatibility Protocol

Using sessions for connections with MySQL compatibility protocol. #5476 #5646 (Yuriy Baranov)
Adds support for using sessions in connections that utilize the MySQL compatibility protocol in ClickHouse.

Why it matters

This feature enables session management for clients connecting via the MySQL protocol, allowing better stateful interaction and compatibility with applications expecting session support. It solves the issue of stateless connections over the MySQL protocol, improving usability and consistency.

How to use it

Users can enable this feature by establishing connections through the MySQL compatibility protocol as usual. Session support will be automatically managed within these connections without requiring additional configuration.