Koozali.org: home of the SME Server

mysql crash?

Jan

mysql crash?
« on: November 03, 2003, 12:28:03 PM »
Hello,

This morning I rebooted my server and now it seems mysql has crashed? Does anyone know what the following error means? Also how to resolve this problem?

I get the following error message when trying to logon using webmail:

object(db_error)(7) {
  ["error_message_prefix"]=>
  string(0) ""
  ["mode"]=>
  int(1)
  ["level"]=>
  int(1024)
  ["code"]=>
  int(-24)
  ["message"]=>
  string(24) "DB Error: connect failed"
  ["userinfo"]=>
  string(105) " [nativecode=Can't connect to local MySQL server through socket '/var/lib/mysql/mysql.sock' (2)] ** Array"
  ["callback"]=>
  NULL
}
[/home/httpd/html/horde/lib/Prefs/sql.php : 102]

I have seen this in an earlier thread on a 5.5 but I myself use a 5.6U5. I didn't find any solutions. Thanks in advance for any help and suggestions you come up with.

Regards,

Jan

Jan

Re: mysql crash?
« Reply #1 on: November 03, 2003, 03:32:40 PM »
Hi all,

I got it working again with 'service mysql restart' . Strange though how this came to pass. The logs just say it ended at reboot. Nothing further, it just didn't restart.

Lessons learned? Don't reboot if you don not have to. ;-)


regards,

Jan