The protocol_dictionary plugin provides the DATA_DICTIONARY.PROTOCOL_COUNTERS table.
This plugin is loaded by default. To stop the plugin from loading by default, start drizzled with:
--plugin-remove=protocol_dictionary
See also
Plugin Options for more information about adding and removing plugins.
drizzle> SELECT * FROM DATA_DICTIONARY.PROTOCOL_COUNTERS;
+----------------------------+--------------------+-------+
| PROTOCOL | COUNTER | VALUE |
+----------------------------+--------------------+-------+
| drizzle_protocol | connection_count | 2 |
| drizzle_protocol | connected | 1 |
| drizzle_protocol | failed_connections | 0 |
| mysql_protocol | connection_count | 0 |
| mysql_protocol | connected | 0 |
| mysql_protocol | failed_connections | 0 |
| mysql_unix_socket_protocol | connection_count | 0 |
| mysql_unix_socket_protocol | connected | 0 |
| mysql_unix_socket_protocol | failed_connections | 0 |
+----------------------------+--------------------+-------+
Andrew Hutchings
This documentation applies to protocol_dictionary 1.0.
To see which version of the plugin a Drizzle server is running, execute:
SELECT MODULE_VERSION FROM DATA_DICTIONARY.MODULES WHERE MODULE_NAME='protocol_dictionary'