Page 1 of 1

MYSQL will not start - socket error

Posted: Wed Jul 18, 2012 2:34 pm
by pbwall
I've been using OpenEMM for a few months, sending campaigns, all was good. All of a sudden mysql will not start.

here is what I get:

Running:
service mysqld start
Timeout error occured trying to start MySQL Daemon.
Starting MySQL: [FAILED]


if I type in just mysql I get:

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

PLEASE HELP! Thanks.

Re: MYSQL will not start - socket error

Posted: Wed Jul 18, 2012 2:59 pm
by pbwall
Issue resolved. Apparently there is a ton of disk space used up by this application and it filled it. Logs from mail, etc.

Is there a way to easily purge these automatically?

Re: MYSQL will not start - socket error

Posted: Wed Jul 18, 2012 9:04 pm
by maschoff
The latest version of the OpenEMM Install Guide offers plenty of advice on how to handle growing databases.