Missing /var/lib/mysql/mysql.sock file

前端 未结 8 1281
忘掉有多难
忘掉有多难 2021-02-18 14:22

I\'m trying to access mysql and when I run the mysql command, I get the following.

[root@ip-10-229-65-166 tpdatabase-1.8.0.28356]# mysql

ERR

8条回答
  •  南旧
    南旧 (楼主)
    2021-02-18 14:37

    just search for mysqld, this is the server daemon:

    find / | grep mysqld
    

    If you found it, the server package may be correctly installed but without initd scripts. For testing, you may start the mysql server by hand executing the above file.

提交回复
热议问题