DBI connect failed mysql some times

My server since 3 days ago some times show this error :

DBI connect failed : Can’t connect to local MySQL server through socket ‘/var/lib/mysql/mysql.sock’ (2)

mysql stop abnormally and in log of mysql I see these errors

# tail /var/log/mysqld.log

140111 14:16:44 [ERROR] Native table ‘performance_schema’.‘events_waits_summary_global_by_event_name’ has the wrong structure
140111 14:16:44 [ERROR] Native table ‘performance_schema’.‘file_summary_by_event_name’ has the wrong structure
140111 14:16:44 [ERROR] Native table ‘performance_schema’.‘file_summary_by_instance’ has the wrong structure
140111 14:16:44 [ERROR] Native table ‘performance_schema’.‘mutex_instances’ has the wrong structure
140111 14:16:44 [ERROR] Native table ‘performance_schema’.‘rwlock_instances’ has the wrong structure
140111 14:16:44 [ERROR] Native table ‘performance_schema’.‘cond_instances’ has the wrong structure
140111 14:16:44 [ERROR] Native table ‘performance_schema’.‘file_instances’ has the wrong structure
140111 14:16:44 [Note] Event Scheduler: Loaded 0 events
140111 14:16:44 [Note] /usr/libexec/mysqld: ready for connections.
Version: ‘5.5.35’ socket: ‘/var/lib/mysql/mysql.sock’ port: 3306 MySQL Community Server (GPL) by Remi

I use centos 6.4 Webmin version 1.660 virtualmin 4.04 Kernel and CPU Linux 2.6.32-358.el6.x86_64 on x86_64

Anyone can help me please?

anyone here!

Howdy,

What output do you receive when running this command:

dmesg | tail -30

Also, are you using a dedicated server, or a VPS? If so, what kind of VPS?

And lastly – how much RAM do you have? You can determine that by running “free -m”.

-Eric