mysql pid file not found and can't connect to mysql through socket mysql.sock


mysql pid file not found and can't connect to mysql through socket mysql.sock
2012年01月18日
  今天同事A找到我,说是Mysql server X的负载很高,查询很慢。他自己捣鼓了一阵未果后,我们一起看了下。 [root@redhat var]# uname -a
  
Linux xxx 2.6.18-128.el5 #1 SMP Wed Dec 17 11:41:38 EST 2008 x86_64 x86_64 x86_64 GNU/Linux
   [root@redhat var]# mysql -u root -p -e “select version();” 
  
+------------+
  | version() |
  +------------+
  | 5.1.32-log | 
  +------------+
  同事A的操作:
  A一看mysql server有问题第一反应是重启mysql server,

猜你喜欢

转载自ncs478yl.iteye.com/blog/1359412