Cannot find mysql.sock

前端 未结 14 1256
一向
一向 2020-12-04 11:20

I just had to re-install mysql and I am having a problem starting it up. It cannot find the socket (mysql.sock). The problem is that neither can I. In my Mac OS X 10.4 te

14条回答
  •  一生所求
    2020-12-04 11:51

    The socket file should be created automatically when the MySQL daemon starts.

    If it isn't found, most likely the directory which is supposed to contain it doesn't exist, or some other file system problem is preventing the socket from being created.

    To find out where the file should be, use:

    % mysqld --verbose --help | grep ^socket
    

提交回复
热议问题