5.1.13.1 Verifying System Support for IPv6验证IPv6的系统支持

Before MySQL Server can accept IPv6 connections, the operating system on your server host must support IPv6. As a simple test to determine whether that is true, try this command:MySQL Server可以接受IPv6连接之前,服务器主机上的操作系统必须支持IPv6。作为确定这是否正确的简单测试,请尝试以下命令:

shell> ping6 ::1
16 bytes from ::1, icmp_seq=0 hlim=64 time=0.171 ms
16 bytes from ::1, icmp_seq=1 hlim=64 time=0.077 ms
...

To produce a description of your system's network interfaces, invoke ifconfig -a and look for IPv6 addresses in the output.要生成系统网络接口的描述,请调用ifconfig-a并在输出中查找IPv6地址。

If your host does not support IPv6, consult your system documentation for instructions on enabling it. It might be that you need only reconfigure an existing network interface to add an IPv6 address. Or a more extensive change might be needed, such as rebuilding the kernel with IPv6 options enabled.如果您的主机不支持IPv6,请参阅系统文档以获取启用它的说明。您可能只需要重新配置现有的网络接口即可添加IPv6地址。或者可能需要更广泛的更改,例如在启用IPv6选项的情况下重建内核。

These links may be helpful in setting up IPv6 on various platforms:这些链接可能有助于在各种平台上设置IPv6: