• 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
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


Digg   Delicious   Reddit   Facebook   Twitter   StumbleUpon  


  Theme © 2014 iAndrew  
Powered By MyBB, © 2002-2020 MyBB Group.