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

前端 未结 8 1217
忘掉有多难
忘掉有多难 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:51

    mysql might have been packaged separately as client and server. Check your package repositories to make sure that the server has been installed. The mysql package might only be the client. Check if there's a package called mysql-server or something similar. Check the list of files installed by the mysql package to see if it actually installs the server.

    If the files are not even there, it's not a permissions problem. Also, you're running as root.

提交回复
热议问题