Posting in the Magento forums has been disabled pending the implementation of a new and improved forum solution which should better serve the community.

For new questions please post at magento.stackexchange.com, the community-run support site for the Magento community. We will be providing updates on the new forum solution soon. For questions or concerns please email community@magento.com.

Magento Forum

При установке на хосте выдаёт ошибку. 
 
Deus
Sr. Member
 
Avatar
Total Posts:  122
Joined:  2009-04-16
Russia. Moscow
 

На локалке всё поставил с пол пинка, а вот на хосте проблемы.
При установке выдаёт ошибку.

SQLSTATE[HY000] [2002] Can’t connect to local MySQL server through socket ‘/var/run/mysqld/mysqld.sock’ (2)
Trace:
#0 /home/virtwww/w_tech-markt-ru_bbd1a3f0/http/lib/Varien/Db/Adapter/Pdo/Mysql.php(189): Zend_Db_Adapter_Pdo_Abstract->_connect()
#1 /home/virtwww/w_tech-markt-ru_bbd1a3f0/http/lib/Zend/Db/Adapter/Abstract.php(441): Varien_Db_Adapter_Pdo_Mysql->_connect()
#2 /home/virtwww/w_tech-markt-ru_bbd1a3f0/http/lib/Zend/Db/Adapter/Pdo/Abstract.php(230): Zend_Db_Adapter_Abstract->query(’SET NAMES utf8’, Array)
#3 /home/virtwww/w_tech-markt-ru_bbd1a3f0/http/lib/Varien/Db/Adapter/Pdo/Mysql.php(259): Zend_Db_Adapter_Pdo_Abstract->query(’SET NAMES utf8’, Array)
#4 /home/virtwww/w_tech-markt-ru_bbd1a3f0/http/app/code/core/Mage/Core/Model/Resource/Type/Db/Pdo/Mysql.php(45): Varien_Db_Adapter_Pdo_Mysql->query(’SET NAMES utf8’)
#5 /home/virtwww/w_tech-markt-ru_bbd1a3f0/http/app/code/core/Mage/Core/Model/Resource.php(85): Mage_Core_Model_Resource_Type_Db_Pdo_Mysql->getConnection(Object(Mage_Core_Model_Config_Element))
#6 /home/virtwww/w_tech-markt-ru_bbd1a3f0/http/app/code/core/Mage/Core/Model/Mysql4/Abstract.php(248): Mage_Core_Model_Resource->getConnection(’core_read’)
#7 /home/virtwww/w_tech-markt-ru_bbd1a3f0/http/app/code/core/Mage/Core/Model/Mysql4/Abstract.php(263): Mage_Core_Model_Mysql4_Abstract->_getConnection(’read’)
#8 /home/virtwww/w_tech-markt-ru_bbd1a3f0/http/app/code/core/Mage/Core/Model/Mysql4/Abstract.php(283): Mage_Core_Model_Mysql4_Abstract->_getReadAdapter()
#9 /home/virtwww/w_tech-markt-ru_bbd1a3f0/http/app/code/core/Mage/Core/Model/Mysql4/Collection/Abstract.php(68): Mage_Core_Model_Mysql4_Abstract->getReadConnection()
#10 /home/virtwww/w_tech-markt-ru_bbd1a3f0/http/app/code/core/Mage/Core/Model/Config.php(968): Mage_Core_Model_Mysql4_Collection_Abstract->__construct(Object(Mage_Core_Model_Mysql4_Website))
#11 /home/virtwww/w_tech-markt-ru_bbd1a3f0/http/app/code/core/Mage/Core/Model/Config.php(1019): Mage_Core_Model_Config->getModelInstance(’core_mysql4/web...’, Object(Mage_Core_Model_Mysql4_Website))
#12 /home/virtwww/w_tech-markt-ru_bbd1a3f0/http/app/Mage.php(345): Mage_Core_Model_Config->getResourceModelInstance(’core/website_co...’, Object(Mage_Core_Model_Mysql4_Website))
#13 /home/virtwww/w_tech-markt-ru_bbd1a3f0/http/app/code/core/Mage/Core/Model/Abstract.php(200): Mage::getResourceModel(’core/website_co...’, Object(Mage_Core_Model_Mysql4_Website))
#14 /home/virtwww/w_tech-markt-ru_bbd1a3f0/http/app/code/core/Mage/Core/Model/Abstract.php(205): Mage_Core_Model_Abstract->getResourceCollection()
#15 /home/virtwww/w_tech-markt-ru_bbd1a3f0/http/app/code/core/Mage/Core/Model/App.php(384): Mage_Core_Model_Abstract->getCollection()
#16 /home/virtwww/w_tech-markt-ru_bbd1a3f0/http/app/code/core/Mage/Core/Model/App.php(247): Mage_Core_Model_App->_initStores()
#17 /home/virtwww/w_tech-markt-ru_bbd1a3f0/http/app/Mage.php(432): Mage_Core_Model_App->init(’’, ‘store’, Array)
#18 /home/virtwww/w_tech-markt-ru_bbd1a3f0/http/app/Mage.php(453): Mage::app(’’, ‘store’, Array)
#19 /home/virtwww/w_tech-markt-ru_bbd1a3f0/http/index.php(52): Mage::run()
#20 {main}

это при том, что прописал и в конфиг и в локал все пароли и пути, которые предоставил хостер. Выставил права на папки, как требуется, но в тех поддержке говорят, что у меня CMS эти два файла вообще не читает и ставит значения по умолчанию (root и соответственно localhost). Будте добры, подскажите, в чем может быть проблема? И вообще, сильно ли отличается установка на хосте от локалки?

 
Magento Community Magento Community
Magento Community
Magento Community
 
Deus
Sr. Member
 
Avatar
Total Posts:  122
Joined:  2009-04-16
Russia. Moscow
 

вопрос закрыт. проблема решена.

 
Magento Community Magento Community
Magento Community
Magento Community
Magento Community
Magento Community
Back to top