magento / magento/community-features
Magento 2 don't support IPv6 for DB connection
Nobody has claimed this yet.
- Dominant language
- No language data
- Stars
- 46
- Forks
- 14
- PR merge metrics
- No merged PRs in 30d
Description
Information on your environment:
Magento 2.2.5
Steps to reproduce:
set configuration for DB connection in IPv6 format (unconditionally at this address you should have an appropriate service)

- Expected results:
connection to DB
- Actual results:
Error:
`
Exception #0 (Zend_Db_Adapter_Exception): SQLSTATE[HY000] [2002] Failed to parse IPv6 address "[:3306"
Exception #1 (PDOException): SQLSTATE[HY000] [2002] Failed to parse IPv6 address "[:3306"
`
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Reproduce the issue by configuring the database connection with an IPv6 address and an available database service, then inspect the connection setup that produces the reported parse error. Done means the same configuration connects successfully without the IPv6 parsing error.
Written by the indexing model from the issue text.
Assessment
- Domain
- database
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100