Bug #61431 | Grant suggestion for slave user on mysql.inventory uses wrong hostname | ||
---|---|---|---|
Submitted: | 7 Jun 2011 9:07 | Modified: | 9 Jan 2015 10:21 |
Reporter: | Daniël van Eeden | Email Updates: | |
Status: | Closed | Impact on me: | |
Category: | MySQL Enterprise Monitor: Agent | Severity: | S4 (Feature request) |
Version: | 2.3.4.2075 | OS: | Any |
Assigned to: | CPU Architecture: | Any |
[7 Jun 2011 9:07]
Daniël van Eeden
[7 Jun 2011 9:51]
Arnaud Adant
Thanks for this feature request. We suppose you need that feature for security reasons.
[7 Jun 2011 10:11]
Daniël van Eeden
There is no such user as 'rep-db01'@'%', that's why the grant statement is not correct. If sql_mode is not set to NO_AUTO_CREATE_USER this would create a new user without password. The CURRENT_USER() function should be used to find the correct hostname and user.