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:

  • 相关阅读:
    CSS3 字体
    capitalized-comments (Rules) – Eslint 中文开发手册
    heapq (Data Types) – Python 中文开发手册
    Java中的Java.lang.Math类| 1
    shell脚本的条件测试与比较
    centos7关闭防火墙
    vmwaretool安装
    mongodb
    php中0与空 Null false的区别
    git使用总结
  • 原文地址:https://www.cnblogs.com/rsapaper/p/6703703.html
Copyright © 2011-2022 走看看