开发者

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

开发者 https://www.devze.com 2023-02-12 10:00 出处:网络
On a freshly installed (windows version of) 开发者_运维知识库MySQL 5.5.9 SELECT user, host FROM mysql.user

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?


::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.

0

精彩评论

暂无评论...
验证码 换一张
取 消