Welcome Guest, Not a member yet? Register   Sign In
Database ipv6 support
#1

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?

Error:

Code:
A PHP Error was encountered

Severity: Warning

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

Filename: mysqli/mysqli_driver.php

Line Number: 140

Backtrace:...
Reply




Theme © iAndrew 2016 - Forum software by © MyBB