How to recover from system crash

Here is the error message i get when I try to log into an existing freepbx:


DB Error: connect failed

Trace Back

/var/www/html/admin/libraries/db_connect.php:71 die_freepbx()
[0]: DB Error: connect failed

/var/www/html/admin/bootstrap.php:85 require_once()
[0]: /var/www/html/admin/libraries/db_connect.php

/etc/freepbx.conf:9 require_once()
[0]: /var/www/html/admin/bootstrap.php

/var/www/html/admin/config.php:99 include_once()
[0]: /etc/freepbx.conf"

Is this recoverable?

Thank you fot your help.

Start mysql.

went to start mysqld and message said it was already started. i stopped mysqld - got an ok. went to start and got a message it was already started. tried to restart and same message. I used:

/etc/init.d/mysqld start (or stop, or restart)

Is this the FreePBX distro?

yes, 6.5

64 bit

yum install mysql-init-fixer && reboot

That worked. Thank you.