MySQL connection via IPv6

0

How can I connect to mysql using IPv6?

I'm using a Linux (Virtual Machine) Debian VM and am trying to connect via the prompt

When I try like this:

mysql --host=9999:9999:9999:1:xxx9:x999:2b23:ccab --user=admin --password

This error occurs:

  

ERROR 2003 (HY000): Can not connect to MySQL server on   9999: 9999: 9999: 1: xxx9: x999: 2b23: ccab '(101 "Network is unreachable")

Note: The above IPv6 is just an example, but it is in the same structure as my original.

Edited

After enabling IPv6 in my VM, according to one of the comments, it gave this error:

  

ERROR 2003 (HY000): Can not connect to MySQL server on   '9999: 9999: 9999: 1: xxx9: x999: 2b23: ccab' (113 "No route to host")

    
asked by anonymous 10.08.2018 / 16:29

0 answers