Bug #71487 | when running on a server with hostname using‘_’, mysql gives incorrect result | ||
---|---|---|---|
Submitted: | 27 Jan 2014 8:53 | Modified: | 27 Jan 2014 15:06 |
Reporter: | sevenElle chow | Email Updates: | |
Status: | Not a Bug | Impact on me: | |
Category: | MySQL Server | Severity: | S3 (Non-critical) |
Version: | 5.6.14 | OS: | Linux |
Assigned to: | CPU Architecture: | Any | |
Tags: | hostname; |
[27 Jan 2014 8:53]
sevenElle chow
[27 Jan 2014 11:40]
Hartmut Holzgraefe
How did you manage to set a hostname that contains "_" in the first place? It is not a valid character for DNS host names for sure, and the "hostname" command refuses to accept it ...
[27 Jan 2014 11:44]
Hartmut Holzgraefe
Ok, it is possible to set such a hostname in /etc/hostname directly, but it is still a very bad idea IMHO, e.g. on my Ubuntu laptop X11 doesn't come up if I try to boot it with a name that contains an underscore in /etc/hostname ...
[27 Jan 2014 15:06]
Sveta Smirnova
Thank you for taking the time to write to us, but this is not a bug. Please double-check the documentation available at http://dev.mysql.com/doc/ and the instructions on how to report a bug at http://bugs.mysql.com/how-to-report.php As Hartmut truly noted hostname you use is not valid. See http://tools.ietf.org/html/rfc1123 and http://en.wikipedia.org/wiki/Hostname#Restrictions_on_valid_host_names