This feature request is implemented in 5.7.8, as
PERFORMANCE_SCHEMA.THREADS table now contains a CONNECTION_TYPE column.
Additionally, the actual cipher in use can be obtained via the
PERFORMANCE_SCHEMA.STATUS_BY_THREAD table. Both are described in more
detail in the following blog post:
https://bugs.mysql.com/bug.php?id=25500
status里也会有ssl相关信息,空即没有
还有ssl accept count计数