Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

What does MySQL "::1" hostname refer to?

Tags:

mysql

hostname

ip

On a freshly installed (windows version of) MySQL 5.5.9

SELECT user, host FROM mysql.user 

gives:

user            host      root        localhost    root        127.0.0.1     root        ::1   localhost     

But what IP/hostname does ::1 stand here for?

like image 973
mlvljr Avatar asked Feb 22 '11 17:02

mlvljr


1 Answers

::1 is the IPv6 address for localhost.

The details (incl.those relevant to the Windows case) are at http://dev.mysql.com/doc/refman/5.5/en/default-privileges.html.

like image 68
Brian Driscoll Avatar answered Sep 21 '22 03:09

Brian Driscoll