The /some/path/ms.sock
refers to the Unix domain socket through wich PHP will connect to MySQL (this is one of the three connection protocols supported by MySQL, besides the usual TCP/IP).
This path must be provided to the mysql*
clients with the --socket
(or -S
) option:
mysqldump -h localhost -S /some/path/ms.sock -u ...