Documentation Home
MySQL 8.3 Reference Manual
Related Documentation Download this Manual
PDF (US Ltr) - 40.8Mb
PDF (A4) - 40.9Mb
Man Pages (TGZ) - 294.0Kb
Man Pages (Zip) - 409.0Kb
Info (Gzip) - 4.0Mb
Info (Zip) - 4.0Mb
Excerpts from this Manual

MySQL 8.3 Reference Manual  /  ...  /  Verifying System Support for IPv6

7.1.13.1 验证系统对IPv6的支持

在 MySQL 服务器可以接受 IPv6 连接之前,服务器主机的操作系统必须支持 IPv6。要简单地测试是否支持,可以尝试以下命令:

$> 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
...

要生成系统网络接口的描述,请 invoke ifconfig -a 并在输出中查找 IPv6 地址。

如果您的主机不支持 IPv6,请查看系统文档以获取启用它的说明。可能只需要重新配置现有的网络接口以添加 IPv6 地址。或者,可能需要进行更大的变化,例如重新编译内核以启用 IPv6 选项。

以下链接可能有助于在各种平台上设置 IPv6: