Bug #67563 [NEW]: mysqli compiled with mysqlnd does not take ipv6 adress as parameter
| From: | naox at o2 dot pl | Date: | Fri, 04 Jul 2014 00:17:40 +0000 |
| Subject: | Bug #67563 [NEW]: mysqli compiled with mysqlnd does not take ipv6 adress as parameter | ||
| Groups: | php.bugs | ||
| Request: | Send a blank email to php-bugs+get-186457@lists.php.net to get a copy of this message | ||
From: naox at o2 dot pl
Operating system:
PHP version: 5.5.14
Package: MySQLi related
Bug Type: Bug
Bug description:mysqli compiled with mysqlnd does not take ipv6 adress as parameter
Description:
------------
mysqli compiled with mysqlnd does not take ipv6 adress as parameter
<?
mysqli_connect("2a01:43f8:4441:12e7::c8");
?>
# php-compiled-with-mysqlnd a.php
<b>Warning</b>: mysqli_connect(): php_network_getaddresses: getaddrinfo
failed: Name or service not known in <b>/root/a.php</b> on line
<b>10</b><br />
# php-compiled-with-libmysql a.php
connects fine
cat /etc/hosts
2a01:43f8:4441:12e7::c8 abc
<?
mysqli_connect("abc");
?>
php-compiled-with-mysqlnd a.php
connects fine
--
Edit bug report at https://bugs.php.net/bug.php?id=67563&edit=1
--