This is trivial, but is a problem in CIs where the hostname might not be "mysql".
This is trivial, but is a problem in CIs where the hostname might not be "mysql".