Vesta Control Panel - Forum

Community Forum

Skip to content

Advanced search
  • Quick links
    • Main site
    • Github repo
    • Google Search
  • FAQ
  • Login
  • Register
  • Board index Main Section Database Server
  • Search

mysql crashed often

Questions regarding the Database Server
MySQL, PostgreSQL, MariaDB, Percona Server, phpMyAdmin, phpPgAdmin
Post Reply
  • Print view
Advanced search
3 posts • Page 1 of 1
vestacp89
Posts: 83
Joined: Thu Aug 14, 2014 11:04 am

mysql crashed often
  • Quote

Post by vestacp89 » Mon Feb 09, 2015 8:24 am

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.
Top

skurudo
VestaCP Team
Posts: 8099
Joined: Fri Dec 26, 2014 2:23 pm
Contact:
Contact skurudo
Website Facebook Google+ Skype
Twitter

Re: mysql crashed often
  • Quote

Post by skurudo » Mon Feb 09, 2015 9:49 pm

What's your server config? CPU/RAM/Virtualisation
May be you have not enough resourses?
Can you show us your mysql config file?
Top

vestacp89
Posts: 83
Joined: Thu Aug 14, 2014 11:04 am

Re: mysql crashed often
  • Quote

Post by vestacp89 » Tue Feb 10, 2015 11:41 am

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
Top


Post Reply
  • Print view

3 posts • Page 1 of 1

Return to “Database Server”



  • Board index
  • All times are UTC
  • Delete all board cookies
  • The team
Powered by phpBB® Forum Software © phpBB Limited
*Original Author: Brad Veryard
*Updated to 3.2 by MannixMD
 

 

Login  •  Register

I forgot my password