Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Unable to pass IPv6 MySQL host #774

Closed
joelvardy opened this issue Nov 28, 2014 · 4 comments
Closed

Unable to pass IPv6 MySQL host #774

joelvardy opened this issue Nov 28, 2014 · 4 comments
Labels
improvement Issue: Ready for Work Gate 4. Acknowledged. Issue is added to backlog and ready for development

Comments

@joelvardy
Copy link

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

@verklov verklov self-assigned this Dec 1, 2014
@verklov
Copy link
Contributor

verklov commented Dec 1, 2014

@joelvardy, thank you for reporting this issue to us! We will get back to you once we have resolution for this issue.

@verklov verklov added the TECH label Dec 2, 2014
@maksek maksek removed the minor-check label Jan 8, 2015
@vpelipenko
Copy link
Contributor

Internal ticket: MAGETWO-31246

@vpelipenko vpelipenko added Issue: Ready for Work Gate 4. Acknowledged. Issue is added to backlog and ready for development PROD and removed TECH labels Feb 20, 2015
@ilol
Copy link

ilol commented Mar 2, 2015

Comment from @buskamuza :

Here is the problem - lib/internal/Magento/Framework/DB/Adapter/Pdo/Mysql.php:314

} else if (strpos($this->_config['host'], ':') !== false) {
list($this->_config['host'], $this->_config['port']) = explode(':', $this->_config['host']);
}

@piotrekkaminski
Copy link
Contributor

Thank you for your submission.

We recently made some changes to the way we process GitHub submissions to more quickly identify and respond to core code issues.

Feature Requests and Improvements should now be submitted to the new Magento 2 Feature Requests and Improvements forum (see details here).

We are closing this GitHub ticket and have moved your request to the new forum.

mmansoor-magento pushed a commit that referenced this issue Jan 25, 2017
Stories:
* MAGETWO-62547: Show Confirmation Window
* MAGETWO-62556: Subscription Request
* MAGETWO-62545: Cancel/Restore the Subscription to Free Tier
* MAGETWO-62551: Manage Permissions
Tasks:
* MAGETWO-63085: Implement state handler for MTF Analytics
Bug fixes:
* MAGETWO-63094: [Github][PR] Cron configuration loading from DB doesn't work #8082
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
improvement Issue: Ready for Work Gate 4. Acknowledged. Issue is added to backlog and ready for development
Projects
None yet
Development

No branches or pull requests

7 participants