ERROR 2002 (HY000): Can't connect to local MySQL server through socket '/var/lib/mysql/mysql.sock' (2)

Hello;

I need help, all my sites are down because MYSQL has refused to start…..

when i run mysql restart/status

> ERROR 2002 (HY000): Can't connect to local MySQL server through socket '/var/lib/mysql/mysql.sock' (2)

for 3 days now i have been having high memory usage

3 Replies

I would suggest checking out the disk space on your Linode. When you don't have anymore free space, MySQL will refuse to start, and is a likely culprit to this.

You can use commands to check such as:

df -h

df -i

Kill all current mysql process and try to start

@iserversupport:

Kill all current mysql process and try to start

Thanks, i now use nginx and mariadb

Reply

Please enter an answer
Tips:

You can mention users to notify them: @username

You can use Markdown to format your question. For more examples see the Markdown Cheatsheet.

> I’m a blockquote.

I’m a blockquote.

[I'm a link] (https://www.google.com)

I'm a link

**I am bold** I am bold

*I am italicized* I am italicized

Community Code of Conduct