yoshinorim / mha4mysql-node

Development tree of Master High Availability Manager and tools for MySQL (MHA), Node (MySQL Server) part
http://code.google.com/p/mysql-master-ha/
GNU General Public License v2.0
398 stars 198 forks source link

MHA IPv6-only support #19

Closed grypyrg closed 8 years ago

grypyrg commented 8 years ago

This patch brings MHA IPv6-only support by replacing the use of gethostbyname with getaddrinfo in order to support ipv6MHA ipv6 only support

grypyrg commented 8 years ago

It's not working yet, because:

    # - DBD-MySQL expects [::] format
    # - scp requires [::] format
    # - ssh requires :: format
    # - mysql tools require :: format
grypyrg commented 8 years ago

Brackets were added to ALL scp commands and DBD-MySQL connections, which work with hostnames, ipv4 and ipv6 addresses.

grypyrg commented 8 years ago

Cancelling pull request, using different main branch