Documentation Home
MySQL 8.0 Reference Manual
Related Documentation Download this Manual
PDF (US Ltr) - 43.3Mb
PDF (A4) - 43.4Mb
Man Pages (TGZ) - 297.3Kb
Man Pages (Zip) - 402.5Kb
Info (Gzip) - 4.3Mb
Info (Zip) - 4.3Mb
Excerpts from this Manual

MySQL 8.0 Reference Manual  / ...  / MySQL Server Administration  / The MySQL Server  / IPv6 Support  /  Obtaining an IPv6 Address from a Broker

7.1.13.5 Obtaining an IPv6 Address from a Broker

If you do not have a public IPv6 address that enables your system to communicate over IPv6 outside your local network, you can obtain one from an IPv6 broker. TheWikipedia IPv6 Tunnel Broker page lists several brokers and their features, such as whether they provide static addresses and the supported routing protocols.

After configuring your server host to use a broker-supplied IPv6 address, start the MySQL server with an appropriatebind_address setting to permit the server to accept IPv6 connections. You can specify * (or::) as thebind_address value, or bind the server to the specific IPv6 address provided by the broker. For more information, see thebind_address description inSection 7.1.8, “Server System Variables”.

Note that if the broker allocates dynamic addresses, the address provided for your system might change the next time you connect to the broker. If so, any accounts you create that name the original address become invalid. To bind to a specific address but avoid this change-of-address problem, you might be able to arrange with the broker for a static IPv6 address.

The following example shows how to use Freenet6 as the broker and thegogoc IPv6 client package on Gentoo Linux.

  1. Create an account at Freenet6 by visiting this URL and signing up:

    http://gogonet.gogo6.com
  2. After creating the account, go to this URL, sign in, and create a user ID and password for the IPv6 broker:

    http://gogonet.gogo6.com/page/freenet6-registration

  3. Asroot, installgogoc:

    $> emerge gogoc
  4. Edit/etc/gogoc/gogoc.conf to set theuserid andpassword values. For example:

    userid=gogouserpasswd=gogopass
  5. Startgogoc:

    $> /etc/init.d/gogoc start

    To startgogoc each time your system boots, execute this command:

    $> rc-update add gogoc default
  6. Useping6 to try to ping a host:

    $> ping6 ipv6.google.com
  7. To see your IPv6 address:

    $> ifconfig tun