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/wls.wels.net/publichtml/wp-includes/wp-db.php 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.

Jeff

1 Reply

What do your log files say?

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