cant connect if -u isn't specified
Bug #1469524 reported by
Aleksandr Kuzminsky
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 |
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.
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.