DBI connect failed mysql some times

3 posts / 0 new
Last post
#1 Sat, 01/11/2014 - 05:06
aminkh17

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?

Sun, 01/12/2014 - 04:58
aminkh17

anyone here!

Mon, 01/13/2014 - 09:21
andreychek

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

Topic locked