the agent is also confusing after it can't connect to MySQL
2015-06-26 18:01:22,516: twindb: INFO: get_mysql_connection():229: Try to call the agent with -u and -p options to specify MySQL user and password
2015-06-26 18:01:22,927: twindb: ERROR: action_handler_register():1045: The MySQL user root does not have enough privileges
2015-06-26 18:01:23,341: twindb: ERROR: action_handler_register():1047: Following privileges are missing: RELOAD,SUPER,LOCK TABLES,REPLICATION CLIENT,CREATE TABLESPACE
When it can't connect to MySQL it should exist with a clear error message.
the agent is also confusing after it can't connect to MySQL
2015-06-26 18:01:22,516: twindb: INFO: get_mysql_ connection( ):229: Try to call the agent with -u and -p options to specify MySQL user and password handler_ register( ):1045: The MySQL user root does not have enough privileges handler_ register( ):1047: Following privileges are missing: RELOAD,SUPER,LOCK TABLES,REPLICATION CLIENT,CREATE TABLESPACE
2015-06-26 18:01:22,927: twindb: ERROR: action_
2015-06-26 18:01:23,341: twindb: ERROR: action_
When it can't connect to MySQL it should exist with a clear error message.