amell2020
(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
dicko
(dicko)
2
What happens when you try to start mysql(d) ?
amell2020
(Estados Unidos)
3
When I try to start it I get this error:
[FAILED]
dicko
(dicko)
4
Inadequate info. what OS are you using?
uname -a
amell2020
(Estados Unidos)
5
I have a freepbx 11 distribution
amell2020
(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
dicko
(dicko)
12
Then its broken, now just type
mysqld
amell2020
(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
dicko
(dicko)
14
mysqlcheck --repair --all-databases
amell2020
(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
dicko
(dicko)
16
mysqldump --all-databases |tee dump.sql
?
amell2020
(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
(system)
Closed
18
This topic was automatically closed 31 days after the last reply. New replies are no longer allowed.