shell> emerge gogoc 

4. Edit /etc/gogoc/gogoc.conf  to set the userid  and password  values. For example: 

## 5.1.14 Network Namespace Support 

userid=gogouser passwd=gogopass 

5. Start gogoc : 

shell> /etc/init.d/gogoc start 

To start gogoc  each time your system boots, execute this command: 

shell> rc-update add gogoc default 

6. Use ping6  to try to ping a host: 

shell> ping6 ipv6.google.com 

7. To see your IPv6 address: 

shell> ifconfig tun 

A network namespace is a logical copy of the network stack from the host system. Network namespaces are useful for setting up containers or virtual environments. Each namespace has its own IP addresses, network interfaces, routing tables, and so forth. The default or global namespace is the one in which the host system physical interfaces exist. 

Namespace-specific address spaces can lead to problems when MySQL connections cross namespaces. For example, the network address space for a MySQL instance running in a container or virtual network may differ from the address space of the host machine. This can produce phenomena such as a client connection from an address in one namespace appearing to the MySQL server to be coming from a different address, even for client and server running on the same machine. Suppose that both processes run on a host with IP address 203.0.113.10  but use different namespaces. A connection may produce a result like this: 

shell> mysql --user=admin --host=203.0.113.10 --protocol=tcp mysql> SELECT USER(); +--------------------+ | USER() | +--------------------+ | admin@198.51.100.2 | +--------------------+ 

In this case, the expected USER()  value is admin@203.0.113.10 . Such behavior can make it difficult to assign account permissions properly if the address from which an connection originates is not what it appears. 

To address this issue, MySQL enables specifying the network namespace to use for TCP/IP connections, so that both endpoints of connections use an agreed-upon common address space. 

MySQL 8.0.22 and higher supports network namespaces on platforms that implement them. Support within MySQL applies to: 

•The MySQL server, mysqld . 

•X Plugin. 

