如何在 XAMPP 下配置 MySQL 以使用 IPv6 [英] How to configure MySQL under XAMPP to work with IPv6

查看:26
本文介绍了如何在 XAMPP 下配置 MySQL 以使用 IPv6的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我有 XAMPP v.3.1.0,出于测试目的,我需要使用 IPv6 格式连接到 MySQL 数据库.

I have XAMPP v.3.1.0 and for testing purposes I need to connect to the MySQL database using IPv6 format.

如何配置 MySQL?

How to configure MySQL?

推荐答案

  • 找到我的.ini
  • 更改/取消注释 bind-address = :: # for ipv6
  • 启动mysql
  • 如果成功连接,请使用命令 mysql -h ::1 在控制台中检查
    • Locate my.ini
    • Change / uncomment bind-address = :: # for ipv6
    • Start mysql
    • check in the console with the command mysql -h ::1 if you manage to connect
    • 其他资源:

      1. 5.1 MySQL 服务器 :: 5.1.9 IPv6 支持
      2. MySQL --bind-address=addr

      这篇关于如何在 XAMPP 下配置 MySQL 以使用 IPv6的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆