跳至内容
Taijicoder Wiki
用户工具
登录
站点工具
搜索
工具
显示页面
过去修订
反向链接
最近更改
媒体管理器
网站地图
登录
>
最近更改
媒体管理器
网站地图
您的足迹:
mysql_localhost_vs_127_0_0_1
本页面只读。您可以查看源文件,但不能更改它。如果您觉得这是系统错误,请联系管理员。
====== 进程通信的默认链接方式 ====== ===== localhost ===== 默认方式是:socket,比如/tmp/mysql.sock。因为是文件通信,所以不经过网卡,不受防火墙规则的影响。 ===== 127.0.0.1 ===== 的默认方式是:端口,比如127.0.0.1:9000 ====== 常见错误 ====== ===== error (2002) Can't connect to ... ===== The error (2002) Can't connect to ... normally means that there is no MySQL server running on the system or that you are using an incorrect Unix socket file name or TCP/IP port number when trying to connect to the server. You should also check that the TCP/IP port you are using has not been blocked by a firewall or port blocking service. ===== error (2003) Can't connect to MySQL server on 'server' (10061) ===== The error (2003) Can't connect to MySQL server on 'server' (10061) indicates that the network connection has been refused. You should check that there is a MySQL server running, that it has network connections enabled, and that the network port you specified is the one configured on the server. [常见错误 Can't connect to [local] MySQL server](https://dev.mysql.com/doc/refman/5.5/en/can-not-connect-to-server.html) [How to Protect or Change the MySQL Unix Socket File](https://dev.mysql.com/doc/refman/5.5/en/problems-with-mysql-sock.html)
mysql_localhost_vs_127_0_0_1.txt
· 最后更改:
2024/02/04 04:49
由
127.0.0.1
页面工具
显示页面
过去修订
反向链接
回到顶部