Skip to content

no ipv6 support #279

@naox

Description

@naox

I've compiled mysql2 gem against newest mysql version

ldd mysql2.so

    libmysqlclient.so.18 => /usr/lib64/libmysqlclient.so.18 (0x00007fba0eeb8000)

and still there is no ipv6 support. I've compiled php against same mysql version and there are no problems.
My mysql server is at ipv6 adress. I connect to it by hostname that is translated by /etc/hosts

Gem mysql2 only gives error

Can't connect to MySQL server on 'mysql5' (111) (Mysql::Error)

cat /etc/hosts|grep mysql5

2a01:4f8:561:5165::c12 mysql5

Like I said there is zero problems with this configuration and php+mysql

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions