Skip to content

Unable to pass IPv6 MySQL host #774

@joelvardy

Description

@joelvardy

I am unable to specify an IPv6 address as the database hostname with the following command line arguments:

--db_host=2a01:7e00::xxxx:xxxx:xxxx:xxxx
--db_host="2a01:7e00::xxxx:xxxx:xxxx:xxxx"

Error received is:

Zend_Db_Adapter_Exception
 SQLSTATE[HY000] [2005] Unknown MySQL server host '2a01' (2)

An IPv4 address works as expected.

This was also an issue in Magento 1.x

Metadata

Metadata

Assignees

No one assigned

    Labels

    Issue: Ready for WorkGate 4. Acknowledged. Issue is added to backlog and ready for developmentimprovement

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions