当主机填写为localhost时mysql会采用 unix domain socket链接mysql
当主机填写为127.0.0.1时mysql会采用tcp方式链接linux
这是linux套接字网络的特性,win平台不会有这个问题sql