Patched first run to work properly, new bug with the main script just
exiting.
Fixed startup.
Added potential Unix socket support with /var/run/mysqld
Fix for Unix socket file support.