Replaced instances of where the MySQL driver was being initiated with static hostname of localhost, this now ensures that using a remote database server for such enviroments as HA will work correctly. This should be fully tested by the QA team but should work fine!  Fixes bug #457 (http://bugs.zpanelcp.com/view.php?id=457)