为了保护我的mysql服务器,我检查了用户列表:
mysql> SELECT User,Host,Password FROM mysql.user;
+------------------+-----------+-------------------------------------------+
| User | Host | Password |
+------------------+-----------+-------------------------------------------+
| root | localhost | ******************************************|
| root | 127.0.0.1 | ******************************************|
| root | ::1 | ******************************************|
| debian-sys-maint | localhost | ******************************************|
+------------------+-----------+-------------------------------------------+
4 rows in set (0.00 sec)
root和debian-sys-maint使用localhost / 127.0.0.1作为主机。
但是我不明白::1
符号的含义是什么?
:: 1是127.0.0.1的ipv6版本
本文收集自互联网,转载请注明来源。
如有侵权,请联系 [email protected] 删除。
我来说两句