-
Notifications
You must be signed in to change notification settings - Fork 116
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
mysql configuration fails when hostname has a capital letter #113
Comments
After some research I've found bug reports, this, this and this suggesting that it might be a bug related to mysql installation scripts. It looks like the MySQL server itself handles hostnames in lowercase, but the initialization script doesn't respect that and creates hostnames with uppercase letters in them if they are present in DNS. Because of the above, "fixing" this issue by forcing hostnames to lowercase in either DebOps roles (all of them) or Ansible |
right. So I guess this needs to be escalated to Debian, then. FWIW: the puppet people are apparently "fixing" it themselves: larsks/puppetlabs-mysql@0afb8f0 |
@muelli An equivalent to Puppet solution would be an update to Ansible's This bug might already be fixed in Jessie, either in MySQL or MariaDB server. Before sending alarms anywhere it should be tested on current Debian Stable if bug still exists. |
It looks like at least in MariaDB on Debian, installation script lowers the hostname in mysql_system_tables_data.sql |
For some reason configuring mysqld does not work when the hostname is not all lower case.
The work-around is to edit /etc/hostname and /etc/hosts to remove capital letters.
This may very well be a in bug in Debian's mysql setup. But I file it here so that it can be tracked.
The text was updated successfully, but these errors were encountered: