Page 1 of 1

mysql crashed often

Posted: Mon Feb 09, 2015 8:24 am
by vestacp89
Hello,

I install vestacp on fresh CentOS 6.6 (64bits),
I see i have often mysql crashed e.g. every 2 day my website is down 1-2 hour,
This is what i found in log file:

Code: Select all

Message: SQLSTATE[HY000] [2002] Can't connect to local MySQL server through socket '/var/lib/mysql/mysql.sock'
How i can fix this ?

Thanks.

Re: mysql crashed often

Posted: Mon Feb 09, 2015 9:49 pm
by skurudo
What's your server config? CPU/RAM/Virtualisation
May be you have not enough resourses?
Can you show us your mysql config file?

Re: mysql crashed often

Posted: Tue Feb 10, 2015 11:41 am
by vestacp89
skurudo wrote:What's your server config? CPU/RAM/Virtualisation
May be you have not enough resourses?
Can you show us your mysql config file?
Hello,

Intel Xeon E3 1225v2
4 c/ 4 t
3.2 GHz+
RAM 32 GB
HDD 2 x 2 TB SATA
CentOS 6.6 (64bits)

CPU
Image
Mysql
Image