Mysql error connect failed Freepbx 11


(Estados Unidos) #1

hi, i’m having this same problem, my server was shutting down several times power outage now i have this error?

FATAL ERROR

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:91 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


#2

What happens when you try to start mysql(d) ?


(Estados Unidos) #3

When I try to start it I get this error:
[FAILED]


#4

Inadequate info. what OS are you using?

uname -a


(Estados Unidos) #5

I have a freepbx 11 distribution


#6

again

uname -a


(Estados Unidos) #7

Linux prestamosNacho 2.6.32-431.el6.i686 #1 SMP Fri Nov 22 00:26:36 UTC 2013 i686 i686 i386 GNU/Linux


#8

service mysqld status


(Estados Unidos) #9

mysqld is stopped


#10

service mysqld start


(Estados Unidos) #11

this message:
[FAILED]


#12

Then its broken, now just type

mysqld


(Estados Unidos) #13

-bash: mysqld: command not found

I think that the mysql base is damaged, I need to know how I can recover it


#14
mysqlcheck --repair --all-databases

(Estados Unidos) #15

mysqlcheck: Got error: 2002: Can’t connect to local MySQL server through socket ‘/var/lib/mysql/mysql.sock’ (2) when trying to connect


#16

mysqldump --all-databases |tee dump.sql

?


(Estados Unidos) #17

this error:
mysqldump: Got error: 2002: Can’t connect to local MySQL server through socket ‘/var/lib/mysql/mysql.sock’ (111) when trying to connect


(system) closed #18

This topic was automatically closed 31 days after the last reply. New replies are no longer allowed.