您好,php中的mysql函数库中的mysql_connect([String server,[,string username[,string password,[bool new_link[,int client_flags]]]]])
中提到mysql服务器,可以包括端口,例如"hostname:port",或者到本地套接字路径,例如对于localhost的":/path/to/socket".如果php指令mysql.default_host未定义(默认情况),则默认值是"localhost:3306"搞不明白,什么是本地的套接路径?请各位路过的朋友指点我一下,谢谢您了。