CodeIgniter Forums

Full Version: Database ipv6 support
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Was wondering if codeigniter 3.0 currently supports ipv6 for database connection, specifically mysqli? I know it utilizes the mysqli driver and I've been trying to figure out if that driver is ipv6 compatible and it seems so. I've checked the server's php configurations and ipv6 is enabled.

When I configure the ipv6 address as the hostname for my current CI3 project it breaks. I've tried brackets around the address as well. Any ideas?


A PHP Error was encountered

Severity: Warning

Message: mysqli::real_connect(): (HY000/2002): Network is unreachable

Filename: mysqli/mysqli_driver.php

Line Number: 140