Topic on Project:Support desk

Huoenter (talkcontribs)

Hi all,

This is bothering me for a while. I tried to google the problem but I can only find the ones that the mysql server does not work at all. Mine works fine if the server is restarted and continues to be fine the next a few days. Then it breaks and leaves message at the front page as:

(Can't contact the database server: Can't connect to local MySQL server through socket '/var/run/mysqld/mysqld.sock' (2) (localhost))

I thought it was debian.cnf and granted access rights to the accounts in debian.cnf. However, it does not work.

Thanks

MarkAHershberger (talkcontribs)

Is MediaWiki the only application that uses your DB? What does MySQL's log say?

Huoenter (talkcontribs)

Thank you for your reply. I discovered my (local) mysql did not have the logging on. I just turned it on and wish to see something when mediawiki breaks down again. Thanks for the hint.

I am also running a dovecot so there is also a mail db in the same mysql server. The mail service seems fine.