SQLSTATE[HY000] [2002] Can't connect to local MySQL server through socket '/var/lib/mysql/mysql.sock' (2)

#0 /home/ada-inc/public_html/includes/src/__default.php(41547): Zend_Db_Adapter_Pdo_Abstract->_connect()
#1 /home/ada-inc/public_html/includes/src/__default.php(41958): Zend_Db_Adapter_Pdo_Mysql->_connect()
#2 /home/ada-inc/public_html/includes/src/__default.php(40249): Varien_Db_Adapter_Pdo_Mysql->_connect()
#3 /home/ada-inc/public_html/includes/src/__default.php(41290): Zend_Db_Adapter_Abstract->query('SET NAMES utf8', Array)
#4 /home/ada-inc/public_html/includes/src/__default.php(42040): Zend_Db_Adapter_Pdo_Abstract->query('SET NAMES utf8', Array)
#5 /home/ada-inc/public_html/includes/src/__default.php(29545): Varien_Db_Adapter_Pdo_Mysql->query('SET NAMES utf8')
#6 /home/ada-inc/public_html/includes/src/__default.php(29281): Mage_Core_Model_Resource_Type_Db_Pdo_Mysql->getConnection(Object(Mage_Core_Model_Config_Element))
#7 /home/ada-inc/public_html/includes/src/__default.php(9975): Mage_Core_Model_Resource->getConnection('core_read')
#8 /home/ada-inc/public_html/includes/src/__default.php(9990): Mage_Core_Model_Mysql4_Abstract->_getConnection('read')
#9 /home/ada-inc/public_html/includes/src/__default.php(10010): Mage_Core_Model_Mysql4_Abstract->_getReadAdapter()
#10 /home/ada-inc/public_html/includes/src/__default.php(27764): Mage_Core_Model_Mysql4_Abstract->getReadConnection()
#11 /home/ada-inc/public_html/includes/src/__default.php(20629): Mage_Core_Model_Mysql4_Collection_Abstract->__construct(Object(Mage_Core_Model_Mysql4_Website))
#12 /home/ada-inc/public_html/includes/src/__default.php(20662): Mage_Core_Model_Config->getModelInstance('core_mysql4/web...', Object(Mage_Core_Model_Mysql4_Website))
#13 /home/ada-inc/public_html/app/Mage.php(460): Mage_Core_Model_Config->getResourceModelInstance('core/website_co...', Object(Mage_Core_Model_Mysql4_Website))
#14 /home/ada-inc/public_html/includes/src/__default.php(4807): Mage::getResourceModel('core/website_co...', Object(Mage_Core_Model_Mysql4_Website))
#15 /home/ada-inc/public_html/includes/src/__default.php(4812): Mage_Core_Model_Abstract->getResourceCollection()
#16 /home/ada-inc/public_html/includes/src/__default.php(17718): Mage_Core_Model_Abstract->getCollection()
#17 /home/ada-inc/public_html/includes/src/__default.php(17579): Mage_Core_Model_App->_initStores()
#18 /home/ada-inc/public_html/includes/src/__default.php(17485): Mage_Core_Model_App->_initCurrentStore('', 'store')
#19 /home/ada-inc/public_html/app/Mage.php(596): Mage_Core_Model_App->run(Array)
#20 /home/ada-inc/public_html/index.php(88): Mage::run('', 'store')
#21 {main}array(6) {
  ["file"]=>
  string(52) "/home/ada-inc/public_html/includes/src/__default.php"
  ["line"]=>
  int(41547)
  ["function"]=>
  string(8) "_connect"
  ["class"]=>
  string(28) "Zend_Db_Adapter_Pdo_Abstract"
  ["type"]=>
  string(2) "->"
  ["args"]=>
  array(0) {
  }
}
array(6) {
  ["file"]=>
  string(52) "/home/ada-inc/public_html/includes/src/__default.php"
  ["line"]=>
  int(41958)
  ["function"]=>
  string(8) "_connect"
  ["class"]=>
  string(25) "Zend_Db_Adapter_Pdo_Mysql"
  ["type"]=>
  string(2) "->"
  ["args"]=>
  array(0) {
  }
}
array(6) {
  ["file"]=>
  string(52) "/home/ada-inc/public_html/includes/src/__default.php"
  ["line"]=>
  int(40249)
  ["function"]=>
  string(8) "_connect"
  ["class"]=>
  string(27) "Varien_Db_Adapter_Pdo_Mysql"
  ["type"]=>
  string(2) "->"
  ["args"]=>
  array(0) {
  }
}
array(6) {
  ["file"]=>
  string(52) "/home/ada-inc/public_html/includes/src/__default.php"
  ["line"]=>
  int(41290)
  ["function"]=>
  string(5) "query"
  ["class"]=>
  string(24) "Zend_Db_Adapter_Abstract"
  ["type"]=>
  string(2) "->"
  ["args"]=>
  array(2) {
    [0]=>
    &string(14) "SET NAMES utf8"
    [1]=>
    &array(0) {
    }
  }
}
array(6) {
  ["file"]=>
  string(52) "/home/ada-inc/public_html/includes/src/__default.php"
  ["line"]=>
  int(42040)
  ["function"]=>
  string(5) "query"
  ["class"]=>
  string(28) "Zend_Db_Adapter_Pdo_Abstract"
  ["type"]=>
  string(2) "->"
  ["args"]=>
  array(2) {
    [0]=>
    &string(14) "SET NAMES utf8"
    [1]=>
    &array(0) {
    }
  }
}
array(6) {
  ["file"]=>
  string(52) "/home/ada-inc/public_html/includes/src/__default.php"
  ["line"]=>
  int(29545)
  ["function"]=>
  string(5) "query"
  ["class"]=>
  string(27) "Varien_Db_Adapter_Pdo_Mysql"
  ["type"]=>
  string(2) "->"
  ["args"]=>
  array(1) {
    [0]=>
    &string(14) "SET NAMES utf8"
  }
}
array(6) {
  ["file"]=>
  string(52) "/home/ada-inc/public_html/includes/src/__default.php"
  ["line"]=>
  int(29281)
  ["function"]=>
  string(13) "getConnection"
  ["class"]=>
  string(42) "Mage_Core_Model_Resource_Type_Db_Pdo_Mysql"
  ["type"]=>
  string(2) "->"
  ["args"]=>
  array(1) {
    [0]=>
    object(Mage_Core_Model_Config_Element)#19 (8) {
      ["model"]=>
      string(6) "mysql4"
      ["initStatements"]=>
      string(14) "SET NAMES utf8"
      ["type"]=>
      string(9) "pdo_mysql"
      ["host"]=>
      string(9) "localhost"
      ["username"]=>
      string(7) "ada-inc"
      ["password"]=>
      string(12) "eeb6WARzz2Tq"
      ["dbname"]=>
      string(7) "ada_inc"
      ["active"]=>
      string(1) "1"
    }
  }
}
array(6) {
  ["file"]=>
  string(52) "/home/ada-inc/public_html/includes/src/__default.php"
  ["line"]=>
  int(9975)
  ["function"]=>
  string(13) "getConnection"
  ["class"]=>
  string(24) "Mage_Core_Model_Resource"
  ["type"]=>
  string(2) "->"
  ["args"]=>
  array(1) {
    [0]=>
    &string(9) "core_read"
  }
}
array(6) {
  ["file"]=>
  string(52) "/home/ada-inc/public_html/includes/src/__default.php"
  ["line"]=>
  int(9990)
  ["function"]=>
  string(14) "_getConnection"
  ["class"]=>
  string(31) "Mage_Core_Model_Mysql4_Abstract"
  ["type"]=>
  string(2) "->"
  ["args"]=>
  array(1) {
    [0]=>
    &string(4) "read"
  }
}
array(6) {
  ["file"]=>
  string(52) "/home/ada-inc/public_html/includes/src/__default.php"
  ["line"]=>
  int(10010)
  ["function"]=>
  string(15) "_getReadAdapter"
  ["class"]=>
  string(31) "Mage_Core_Model_Mysql4_Abstract"
  ["type"]=>
  string(2) "->"
  ["args"]=>
  array(0) {
  }
}
array(6) {
  ["file"]=>
  string(52) "/home/ada-inc/public_html/includes/src/__default.php"
  ["line"]=>
  int(27764)
  ["function"]=>
  string(17) "getReadConnection"
  ["class"]=>
  string(31) "Mage_Core_Model_Mysql4_Abstract"
  ["type"]=>
  string(2) "->"
  ["args"]=>
  array(0) {
  }
}
array(6) {
  ["file"]=>
  string(52) "/home/ada-inc/public_html/includes/src/__default.php"
  ["line"]=>
  int(20629)
  ["function"]=>
  string(11) "__construct"
  ["class"]=>
  string(42) "Mage_Core_Model_Mysql4_Collection_Abstract"
  ["type"]=>
  string(2) "->"
  ["args"]=>
  array(1) {
    [0]=>
    object(Mage_Core_Model_Mysql4_Website)#23 (13) {
      ["_resources":protected]=>
      object(Mage_Core_Model_Resource)#20 (4) {
        ["_connectionTypes":protected]=>
        array(1) {
          ["pdo_mysql"]=>
          object(Mage_Core_Model_Resource_Type_Db_Pdo_Mysql)#27 (2) {
            ["_name":protected]=>
            string(0) ""
            ["_entityClass":protected]=>
            string(37) "Mage_Core_Model_Resource_Entity_Table"
          }
        }
        ["_connections":protected]=>
        array(0) {
        }
        ["_entities":protected]=>
        array(0) {
        }
        ["_mappedTableNames":protected]=>
        NULL
      }
      ["_resourcePrefix":protected]=>
      string(4) "core"
      ["_connections":protected]=>
      array(0) {
      }
      ["_resourceModel":protected]=>
      string(4) "core"
      ["_tables":protected]=>
      array(0) {
      }
      ["_mainTable":protected]=>
      string(7) "website"
      ["_idFieldName":protected]=>
      string(10) "website_id"
      ["_isPkAutoIncrement":protected]=>
      bool(true)
      ["_useIsObjectNew":protected]=>
      bool(false)
      ["_fieldsForUpdate":protected]=>
      array(0) {
      }
      ["_mainTableFields":protected]=>
      NULL
      ["_uniqueFields":protected]=>
      NULL
      ["_serializableFields":protected]=>
      array(0) {
      }
    }
  }
}
array(6) {
  ["file"]=>
  string(52) "/home/ada-inc/public_html/includes/src/__default.php"
  ["line"]=>
  int(20662)
  ["function"]=>
  string(16) "getModelInstance"
  ["class"]=>
  string(22) "Mage_Core_Model_Config"
  ["type"]=>
  string(2) "->"
  ["args"]=>
  array(2) {
    [0]=>
    &string(30) "core_mysql4/website_collection"
    [1]=>
    object(Mage_Core_Model_Mysql4_Website)#23 (13) {
      ["_resources":protected]=>
      object(Mage_Core_Model_Resource)#20 (4) {
        ["_connectionTypes":protected]=>
        array(1) {
          ["pdo_mysql"]=>
          object(Mage_Core_Model_Resource_Type_Db_Pdo_Mysql)#27 (2) {
            ["_name":protected]=>
            string(0) ""
            ["_entityClass":protected]=>
            string(37) "Mage_Core_Model_Resource_Entity_Table"
          }
        }
        ["_connections":protected]=>
        array(0) {
        }
        ["_entities":protected]=>
        array(0) {
        }
        ["_mappedTableNames":protected]=>
        NULL
      }
      ["_resourcePrefix":protected]=>
      string(4) "core"
      ["_connections":protected]=>
      array(0) {
      }
      ["_resourceModel":protected]=>
      string(4) "core"
      ["_tables":protected]=>
      array(0) {
      }
      ["_mainTable":protected]=>
      string(7) "website"
      ["_idFieldName":protected]=>
      string(10) "website_id"
      ["_isPkAutoIncrement":protected]=>
      bool(true)
      ["_useIsObjectNew":protected]=>
      bool(false)
      ["_fieldsForUpdate":protected]=>
      array(0) {
      }
      ["_mainTableFields":protected]=>
      NULL
      ["_uniqueFields":protected]=>
      NULL
      ["_serializableFields":protected]=>
      array(0) {
      }
    }
  }
}
array(6) {
  ["file"]=>
  string(38) "/home/ada-inc/public_html/app/Mage.php"
  ["line"]=>
  int(460)
  ["function"]=>
  string(24) "getResourceModelInstance"
  ["class"]=>
  string(22) "Mage_Core_Model_Config"
  ["type"]=>
  string(2) "->"
  ["args"]=>
  array(2) {
    [0]=>
    &string(23) "core/website_collection"
    [1]=>
    object(Mage_Core_Model_Mysql4_Website)#23 (13) {
      ["_resources":protected]=>
      object(Mage_Core_Model_Resource)#20 (4) {
        ["_connectionTypes":protected]=>
        array(1) {
          ["pdo_mysql"]=>
          object(Mage_Core_Model_Resource_Type_Db_Pdo_Mysql)#27 (2) {
            ["_name":protected]=>
            string(0) ""
            ["_entityClass":protected]=>
            string(37) "Mage_Core_Model_Resource_Entity_Table"
          }
        }
        ["_connections":protected]=>
        array(0) {
        }
        ["_entities":protected]=>
        array(0) {
        }
        ["_mappedTableNames":protected]=>
        NULL
      }
      ["_resourcePrefix":protected]=>
      string(4) "core"
      ["_connections":protected]=>
      array(0) {
      }
      ["_resourceModel":protected]=>
      string(4) "core"
      ["_tables":protected]=>
      array(0) {
      }
      ["_mainTable":protected]=>
      string(7) "website"
      ["_idFieldName":protected]=>
      string(10) "website_id"
      ["_isPkAutoIncrement":protected]=>
      bool(true)
      ["_useIsObjectNew":protected]=>
      bool(false)
      ["_fieldsForUpdate":protected]=>
      array(0) {
      }
      ["_mainTableFields":protected]=>
      NULL
      ["_uniqueFields":protected]=>
      NULL
      ["_serializableFields":protected]=>
      array(0) {
      }
    }
  }
}
array(6) {
  ["file"]=>
  string(52) "/home/ada-inc/public_html/includes/src/__default.php"
  ["line"]=>
  int(4807)
  ["function"]=>
  string(16) "getResourceModel"
  ["class"]=>
  string(4) "Mage"
  ["type"]=>
  string(2) "::"
  ["args"]=>
  array(2) {
    [0]=>
    &string(23) "core/website_collection"
    [1]=>
    object(Mage_Core_Model_Mysql4_Website)#23 (13) {
      ["_resources":protected]=>
      object(Mage_Core_Model_Resource)#20 (4) {
        ["_connectionTypes":protected]=>
        array(1) {
          ["pdo_mysql"]=>
          object(Mage_Core_Model_Resource_Type_Db_Pdo_Mysql)#27 (2) {
            ["_name":protected]=>
            string(0) ""
            ["_entityClass":protected]=>
            string(37) "Mage_Core_Model_Resource_Entity_Table"
          }
        }
        ["_connections":protected]=>
        array(0) {
        }
        ["_entities":protected]=>
        array(0) {
        }
        ["_mappedTableNames":protected]=>
        NULL
      }
      ["_resourcePrefix":protected]=>
      string(4) "core"
      ["_connections":protected]=>
      array(0) {
      }
      ["_resourceModel":protected]=>
      string(4) "core"
      ["_tables":protected]=>
      array(0) {
      }
      ["_mainTable":protected]=>
      string(7) "website"
      ["_idFieldName":protected]=>
      string(10) "website_id"
      ["_isPkAutoIncrement":protected]=>
      bool(true)
      ["_useIsObjectNew":protected]=>
      bool(false)
      ["_fieldsForUpdate":protected]=>
      array(0) {
      }
      ["_mainTableFields":protected]=>
      NULL
      ["_uniqueFields":protected]=>
      NULL
      ["_serializableFields":protected]=>
      array(0) {
      }
    }
  }
}
array(6) {
  ["file"]=>
  string(52) "/home/ada-inc/public_html/includes/src/__default.php"
  ["line"]=>
  int(4812)
  ["function"]=>
  string(21) "getResourceCollection"
  ["class"]=>
  string(24) "Mage_Core_Model_Abstract"
  ["type"]=>
  string(2) "->"
  ["args"]=>
  array(0) {
  }
}
array(6) {
  ["file"]=>
  string(52) "/home/ada-inc/public_html/includes/src/__default.php"
  ["line"]=>
  int(17718)
  ["function"]=>
  string(13) "getCollection"
  ["class"]=>
  string(24) "Mage_Core_Model_Abstract"
  ["type"]=>
  string(2) "->"
  ["args"]=>
  array(0) {
  }
}
array(6) {
  ["file"]=>
  string(52) "/home/ada-inc/public_html/includes/src/__default.php"
  ["line"]=>
  int(17579)
  ["function"]=>
  string(11) "_initStores"
  ["class"]=>
  string(19) "Mage_Core_Model_App"
  ["type"]=>
  string(2) "->"
  ["args"]=>
  array(0) {
  }
}
array(6) {
  ["file"]=>
  string(52) "/home/ada-inc/public_html/includes/src/__default.php"
  ["line"]=>
  int(17485)
  ["function"]=>
  string(17) "_initCurrentStore"
  ["class"]=>
  string(19) "Mage_Core_Model_App"
  ["type"]=>
  string(2) "->"
  ["args"]=>
  array(2) {
    [0]=>
    &string(0) ""
    [1]=>
    &string(5) "store"
  }
}
array(6) {
  ["file"]=>
  string(38) "/home/ada-inc/public_html/app/Mage.php"
  ["line"]=>
  int(596)
  ["function"]=>
  string(3) "run"
  ["class"]=>
  string(19) "Mage_Core_Model_App"
  ["type"]=>
  string(2) "->"
  ["args"]=>
  array(1) {
    [0]=>
    &array(3) {
      ["scope_code"]=>
      string(0) ""
      ["scope_type"]=>
      string(5) "store"
      ["options"]=>
      array(0) {
      }
    }
  }
}
array(6) {
  ["file"]=>
  string(35) "/home/ada-inc/public_html/index.php"
  ["line"]=>
  int(88)
  ["function"]=>
  string(3) "run"
  ["class"]=>
  string(4) "Mage"
  ["type"]=>
  string(2) "::"
  ["args"]=>
  array(2) {
    [0]=>
    &string(0) ""
    [1]=>
    &string(5) "store"
  }
}
 Allo