zoukankan      html  css  js  c++  java
  • mysqld.sock

     sudo  service mysql start

    https://dev.mysql.com/doc/refman/5.7/en/problems-with-mysql-sock.html

    B.5.3.6 How to Protect or Change the MySQL Unix Socket File

    The default location for the Unix socket file that the server uses for communication with local clients is /tmp/mysql.sock. (For some distribution formats, the directory might be different, such as /var/lib/mysql for RPMs.)

    On some versions of Unix, anyone can delete files in the /tmp directory or other similar directories used for temporary files. If the socket file is located in such a directory on your system, this might cause problems.

    w

    https://dev.mysql.com/doc/refman/5.7/en/mysqld.html

    mysqld, also known as MySQL Server, is the main program that does most of the work in a MySQL installation. MySQL Server manages access to the MySQL data directory that contains databases and tables. The data directory is also the default location for other information such as log files and status files.

    When MySQL server starts, it listens for network connections from client programs and manages access to databases on behalf of those clients.

    The mysqld program has many options that can be specified at startup. For a complete list of options, run this command:

  • 相关阅读:
    trie树
    单调队列
    网络流24题——试题库问题
    费用流的简单应用
    Manacher算法
    KMP算法
    网络流之最小费用最大流
    网络流之二分图匹配【转】
    网络流之最大流
    矩阵快速幂优化菲波那切数列
  • 原文地址:https://www.cnblogs.com/rsapaper/p/6703703.html
Copyright © 2011-2022 走看看