cant connect if -u isn't specified

Bug #1469524 reported by Aleksandr Kuzminsky
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
twindb-agent
Fix Committed
High
Aleksandr Kuzminsky

Bug Description

During a registration agent can't connect to MySQL if username isn't set with -u option.

"twindb -p**** --register xxx" doesn't work, while "twindb -uroot -p*** --register xxx" does work

Changed in twindb-agent:
importance: Undecided → High
Revision history for this message
Aleksandr Kuzminsky (akuzminsky) wrote :

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.

Changed in twindb-agent:
status: New → Fix Committed
assignee: nobody → Aleksandr Kuzminsky (akuzminsky)
milestone: none → 0.1.36
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.