Updated from SysAdmin Pro-stuck in a loop and system is down

Hello
Ran the update utility from SyinsAdmin Pro yesterday around 6 p.m. Checked in periodically until 1 a.m.
Updated GUI would come and go seeing the error below and logs showed activity.
Note: Updated form 5.211.65-12

Checked in at 7 a.m. and system is down, GUI is down and logs are still showing activity.
Looking at the logs it looks like its stuck in a loop as I see repeated attempts to upgrade from 6.12.65-26 to 6.12.65-27. -Please see log entries below.
Running cat /etc/schmooze/pbx-version currently shows 6.12.65-26

Assuming this is not normal behavior.
Any recommendations on a course of action would be greatly appreciated.
The staff is getting their pitchforks and torches ready.

Thank you TL

GUI on and off has been showing:

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

Logs
Tue Jul 21 08:22:07 CDT 2015 Your FreePBX Distro System is being upgraded to 6.12.65-27. Please standby…

Tue Jul 21 08:22:07 CDT 2015 STAGE 1 STARTING - GUI Modules
Tue Jul 21 08:22:07 CDT 2015 Upgrade All FreePBX GUI Modules
Tue Jul 21 08:22:08 CDT 2015 STAGE 1 COMPLETED - GUI Modules - Moving to Stage 2

Tue Jul 21 08:22:08 CDT 2015 STAGE 2 STARTING - RPM’s
Tue Jul 21 08:22:08 CDT 2015 Replace repos with only FreePBX Distro since some people have added other repos which can break updates
Tue Jul 21 08:22:08 CDT 2015 Update Asterisk RPMs
Tue Jul 21 08:25:06 CDT 2015 This appears to be a FreePBX Distro system as it has a Distro Version of 6.12.65-26
VARIABLES SET FOR UPGRADE
asterisk=Asterisk 11.18.0 built by root @ jenkins-builder1.schmoozecom.net on a x86_64 running Linux on 2015-07-13 17:54:56 UTC
kernel=Linux .net 2.6.32-431.el6.x86_64 #1 SMP Fri Nov 22 03:15:09 UTC 2013 x86_64 x86_64 x86_64 GNU/Linux
version=6.12.65-26
host=
***.net
upgradeversion=6.12.65-27
virtual=

Tue Jul 21 08:25:06 CDT 2015 Your FreePBX Distro System is being upgraded to 6.12.65-27. Please standby…

Tue Jul 21 08:25:06 CDT 2015 STAGE 1 STARTING - GUI Modules
Tue Jul 21 08:25:06 CDT 2015 Upgrade All FreePBX GUI Modules
Tue Jul 21 08:25:07 CDT 2015 STAGE 1 COMPLETED - GUI Modules - Moving to Stage 2

Tue Jul 21 08:25:07 CDT 2015 STAGE 2 STARTING - RPM’s
Tue Jul 21 08:25:07 CDT 2015 Replace repos with only FreePBX Distro since some people have added other repos which can break updates
Tue Jul 21 08:25:07 CDT 2015 Update Asterisk RPMs
Tue Jul 21 08:34:14 CDT 2015 This appears to be a FreePBX Distro system as it has a Distro Version of 6.12.65-26
VARIABLES SET FOR UPGRADE
asterisk=Asterisk 11.18.0 built by root @ jenkins-builder1.schmoozecom.net on a x86_64 running Linux on 2015-07-13 17:54:56 UTC
kernel=Linux******************.net 2.6.32-431.el6.x86_64 #1 SMP Fri Nov 22 03:15:09 UTC 2013 x86_64 x86_64 x86_64 GNU/Linux
version=6.12.65-26
host=*******************.net
upgradeversion=6.12.65-27
virtual=

Tue Jul 21 08:34:14 CDT 2015 Your FreePBX Distro System is being upgraded to 6.12.65-27. Please standby…

Tue Jul 21 08:34:14 CDT 2015 STAGE 1 STARTING - GUI Modules
Tue Jul 21 08:34:14 CDT 2015 Upgrade All FreePBX GUI Modules
Tue Jul 21 08:34:15 CDT 2015 STAGE 1 COMPLETED - GUI Modules - Moving to Stage 2

Tue Jul 21 08:34:15 CDT 2015 STAGE 2 STARTING - RPM’s
Tue Jul 21 08:34:15 CDT 2015 Replace repos with only FreePBX Distro since some people have added other repos which can break updates
Tue Jul 21 08:34:15 CDT 2015 Update Asterisk RPMs
Tue Jul 21 08:37:06 CDT 2015 This appears to be a FreePBX Distro system as it has a Distro Version of 6.12.65-26
VARIABLES SET FOR UPGRADE
asterisk=Asterisk 11.18.0 built by root @ jenkins-builder1.schmoozecom.net on a x86_64 running Linux on 2015-07-13 17:54:56 UTC
kernel=Linux .net 2.6.32-431.el6.x86_64 #1 SMP Fri Nov 22 03:15:09 UTC 2013 x86_64 x86_64 x86_64 GNU/Linux
version=6.12.65-26
host=
***.net
upgradeversion=6.12.65-27
virtual=

If you are updating from such an old track a few of those updates may require a reboot.

Thank you for the help.
I’m rebooting now.

Looks like, Your Mysql Database is crashed by looking at your GUI Error.
Try using the following

service mysqld stop

mv /var/lib/mysql/mysql.sock /var/lib/mysql/mysql.sock.bak

service mysqld start