问题
I have XAMPP v.3.1.0 and for testing purposes I need to connect to the MySQL database using IPv6 format.
How to configure MySQL?
回答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
Other resources:
- 5.1 The MySQL Server :: 5.1.9 IPv6 Support
- MySQL --bind-address=addr
来源:https://stackoverflow.com/questions/16208744/how-to-configure-mysql-under-xampp-to-work-with-ipv6