add mysql socket support to install
added mysql socket support to db.php