After configure magento2 showing an error.

zinavoindia

Member
Joined
Oct 11, 2018
Messages
34
Points
8
Migrating pack to hostcorn hosting after successful configuration it showing a list of the error.

PDOException: SQLSTATE[HY000] [2002] No such file or directory in /home/sites/12a/1/16918519eb/public_html/vendor/magento/zendframework1/library/Zend/Db/Adapter/Pdo/Abstract.php:128 Stack trace: #0 /home/sites/12a/1/16918519eb/public_html/vendor/magento/zendframework1/library/Zend/Db/Adapter/Pdo/Abstract.php(128): PDO->__construct('mysql:host=loca...', 'empohubtest', 'Welcome@123!', Array) #1 /home/sites/12a/1/16918519eb/public_html/vendor/magento/zendframework1/library/Zend/Db/Adapter/Pdo/Mysql.php(111): Zend_Db_Adapter_Pdo_Abstract->_connect() #2 /home/sites/12a/1/16918519eb/public_html/vendor/magento/framework/DB/Adapter/Pdo/Mysql.php(398): Zend_Db_Adapter_Pdo_Mysql->_connect() #3 /home/sites/12a/1/16918519eb/public_html/vendor/magento/zendframework1/library/Zend/Db/Adapter/Abstract.php(460): Magento\Framework\DB\Adapter\Pdo\Mysql->_connect() #4 /home/sites/12a/1/16918519eb/public_html/vendor/magento/zendframework1/library/Zend/Db/Adapter/Pdo/Abstract.php(238): Zend_Db_Adapter_Abstract->query('SELECT `main_ta...', Array) #5 /home/sites/12a/1/16918519eb/public_html/vendor/magento/framework/DB/Adapter/Pdo/Mysql.php(533): Zend_Db_Adapter_Pdo_Abstract->query('SELECT `main_ta...', Array) #6 /home/sites/12a/1/16918519eb/public_html/vendor/magento/framework/DB/Adapter/Pdo/Mysql.php(596): Magento\Framework\DB\Adapter\Pdo\Mysql->_query('SELECT `main_ta...', Array) #7 /home/sites/12a/1/16918519eb/public_html/vendor/magento/zendframework1/library/Zend/Db/Adapter/Abstract.php(737): Magento\Framework\DB\Adapter\Pdo\Mysql->query(Object(Magento\Framework\DB\Select), Array) #8 /home/sites/12a/1/16918519eb/public_html/vendor/magento/framework/Data/Collection/Db/FetchStrategy/Query.php(21): Zend_Db_Adapter_Abstract->fetchAll(Object(Magento\Framework\DB\Select), Array) #9 /home/sites/12a/1/16918519eb/public_html/vendor/magento/framework/Data/Collection/AbstractDb.php(774): Magento\Framework\Data\Collection\Db\FetchStrategy\Query->fetchAll(Object(Magento\Framework\DB\Select), Array) #10 /home/sites/12a/1/16918519eb/public_html/vendor/magento/framework/Data/Collection/AbstractDb.php(670): Magento\Framework\Data\Collection\AbstractDb->_fetchAll(Object(Magento\Framework\DB\Select)) #11 /home/sites/12a/1/16918519eb/public_html/vendor/magento/framework/Data/Collection/AbstractDb.php(574):
 
Older threads
Latest threads
Replies
0
Views
589
Replies
2
Views
788
Replies
1
Views
309
Recommended threads
Replies
7
Views
6,087
Replies
6
Views
4,803
Replies
5
Views
3,638
Replies
4
Views
6,110
Replies
9
Views
4,620

Referral contests

Referral link for :

Sponsors

Popular tags

You are using an out of date browser. It may not display this or other websites correctly.
You should upgrade or use an alternative browser.

Top