Bug #41798 | Incomplete error message for SELECT denied to mysql.inventory | ||
---|---|---|---|
Submitted: | 30 Dec 2008 15:37 | Modified: | 11 Jan 2011 17:17 |
Reporter: | Mark Leith | Email Updates: | |
Status: | Closed | Impact on me: | |
Category: | MySQL Enterprise Monitor: Agent | Severity: | S3 (Non-critical) |
Version: | 2.0.0.7111 | OS: | Any |
Assigned to: | Mark Leith | CPU Architecture: | Any |
Tags: | mem_20_maint |
[30 Dec 2008 15:37]
Mark Leith
[30 Dec 2008 15:53]
Jan Kneschke
The error-msg will be replaced by a link to the manual that describes the problem a lot better.
[30 Dec 2008 15:57]
Simon Mudd
GRANTing SELECT on mysql.inventory DOES NOT WORK as there are no table level grants on the MYSQL database. The help description should be clear about the grants that are actually required.
[30 Dec 2008 16:02]
Simon Mudd
The error message is a solution to the problem the proxy has, but it does not actually describe the problem which is that the connection information used by the proxy to connect to the backend doesn't correspond with the connection information stored in etc/instances/XXXX/agent-instance.ini. That fact the proxy can't find the required information may imply the administrator has not configured the proxy correctly. In this specific case the proxy backend had been configured with an ip-address while agent-instance.ini had been configured with a hostname. IMO the proxy should have been able to figure out that the configuration matched.
[30 Dec 2008 16:10]
Simon Mudd
In any case if the details don't match the agent SHOULD probably report this in the log file, so the administrator understands the problem, or the measures s[he] should take if the configuration is actually correct.
[27 Feb 2009 17:50]
Mark Matthews
Two things to fix here: (1) Better message, like Simon's comment, just say things are misconfigured. (2) Do a more robust match on hosts between agent and proxy (compare hostnames, and IPs).
[15 Nov 2010 13:33]
Enterprise Tools JIRA Robot
Mark Leith writes: Patch pushed to 2.3: 1979 Mark Leith 2010-11-15 Bug#41798 / EM-306 - Incomplete error message for SELECT denied to mysql.inventory - Further clarify the error message modified: lib/quan.lua
[18 Nov 2010 0:58]
Enterprise Tools JIRA Robot
Andy Bang writes: In build 2.3.1.2039.
[11 Jan 2011 17:17]
John Russell
Closed with no doc changelog entry.