WL#7729: Instrumentation of connection type

Affects: Server-5.7   —   Status: Complete

MySQL lacks DBA visibility into the types of connections being established and
used; there is no meaningful way to distinguish SSL connections from TCP/IP
connections, or socket, shared memory or named pipe connections.  This causes
operational difficulty in assessing security.  Instrumentation should include:

1.  Connection type information in P_S.THREADS
2.  Connection type information in audit log
3.  Connection type information in general log

User Documentation
==================

http://dev.mysql.com/doc/relnotes/mysql/5.7/en/news-5-7-8.html
http://dev.mysql.com/doc/refman/5.7/en/threads-table.html
http://dev.mysql.com/doc/refman/5.7/en/query-log.html
http://dev.mysql.com/doc/refman/5.7/en/writing-audit-plugins.html