Support ip mask for localhost mysql connections
Currently the hostname is checked for localhost or 127.0.0.1 only for local mysql connection host. But as specified in RFC 790 all ip addresses with mask 127.x.x.x are considered to be on localhost. So the install tool should be able to handle ip addresses starting with 127. as localhost.
[BUGFIX] Improve database connection smooth migration wizard
This patch adds support for local database connections over ips applying
to mask 127.xxx.xxx.xxx as specified in RFC 790. Additionally the
support for non local host connections is improved by setting a default
port independent from host name.
Reviewed-by: Philipp Gampe
Tested-by: Philipp Gampe
Reviewed-by: Alexander Opitz
Tested-by: Alexander Opitz
Reviewed-by: Christian Kuhn
Tested-by: Christian Kuhn