IPV4_TO_IPV6
IPV4_TO_IPV6β
IPV4_TO_IPV6
Descriptionβ
Syntaxβ
IPV6 IPV4_TO_IPV6(IPV4 ipv4)
accept an IPv4 type address and return the converted IPv6 type address.
Exampleβ
mysql [(none)]>select ipv6_num_to_string(ipv4_to_ipv6(to_ipv4('192.168.0.1')));
+----------------------+
| '::ffff:192.168.0.1' |
+----------------------+
| ::ffff:192.168.0.1 |
+----------------------+
1 row in set (0.02 sec)
Keywordsβ
IPV4_TO_IPV6, IP