MySQL not staying running

Hello All,

I am getting this error on my Linode site:

Warning: mysqlconnect(): Can't connect to local MySQL server through socket '/var/run/mysqld/mysqld.sock' (111) in /var/www/ on line 1568

When I restart the service I get:

root@www:~# service mysql restart

[ ok ] Stopping MySQL database server: mysqld.

[ ok ] Starting MySQL database server: mysqld ..

[info] Checking for tables which need an upgrade, are corrupt or were

not closed cleanly..

Then the services stop in about 15-30 seconds.

I have looked online at other procedures to fix and nothing works.

Any help would be appreciated.


1 Reply

What do your log files say?


Please enter an answer

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] (

I'm a link

**I am bold** I am bold

*I am italicized* I am italicized

Community Code of Conduct