Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

FireGento-Magesetup2/ SQLSTATE[HY000] [2002] Connection refused #122

Closed
RajkaCegar opened this issue Sep 11, 2018 · 1 comment
Closed

FireGento-Magesetup2/ SQLSTATE[HY000] [2002] Connection refused #122

RajkaCegar opened this issue Sep 11, 2018 · 1 comment

Comments

@RajkaCegar
Copy link

General

Magento version: 2.2.5
PHP version:7.1

Issue description

Hello
, i have a problem durin install firegento-magesetup2. After command bin/magento magesetup:setup:run de i became following message:

SQLSTATE[HY000] [2002] Connection refused
#0 /var/www/web28943373/html/mage-d536498c/vendor/magento/zendframework1/library/Zend/Db/Adapter/Pdo/Mysql.php(111): Zend_Db_Adapter_Pdo_Abstract->_connect()
#1 /var/www/web28943373/html/mage-d536498c/vendor/magento/framework/DB/Adapter/Pdo/Mysql.php(398): Zend_Db_Adapter_Pdo_Mysql->_connect()
#2 /var/www/web28943373/html/mage-d536498c/vendor/magento/zendframework1/library/Zend/Db/Adapter/Abstract.php(861): Magento\Framework\DB\Adapter\Pdo\Mysql->_connect()
#3 /var/www/web28943373/html/mage-d536498c/vendor/magento/zendframework1/library/Zend/Db/Adapter/Abstract.php(931): Zend_Db_Adapter_Abstract->quote('AGB', NULL)
#4 /var/www/web28943373/html/mage-d536498c/vendor/magento/framework/DB/Adapter/Pdo/Mysql.php(1453): Zend_Db_Adapter_Abstract->quoteInto('checkout_agree...', 'AGB', NULL, NULL) #5 /var/www/web28943373/html/mage-d536498c/vendor/magento/zendframework1/library/Zend/Db/Select.php(1031): Magento\Framework\DB\Adapter\Pdo\Mysql->quoteInto('checkout_agree...', 'AGB', NULL)
#6 /var/www/web28943373/html/mage-d536498c/vendor/magento/zendframework1/library/Zend/Db/Select.php(496): Zend_Db_Select->_where('checkout_agree...', 'AGB', NULL, true) #7 /var/www/web28943373/html/mage-d536498c/vendor/magento/framework/DB/Select.php(119): Zend_Db_Select->where('checkout_agree...', 'AGB', NULL)
#8 /var/www/web28943373/html/mage-d536498c/vendor/magento/framework/Model/ResourceModel/Db/AbstractDb.php(376): Magento\Framework\DB\Select->where('checkout_agree...', 'AGB') #9 /var/www/web28943373/html/mage-d536498c/vendor/magento/module-checkout-agreements/Model/ResourceModel/Agreement.php(121): Magento\Framework\Model\ResourceModel\Db\AbstractDb->_getLoadSelect('checkout_agree...', 'AGB', Object(Magento\CheckoutAgreements\Model\Agreement\Interceptor))
#10 /var/www/web28943373/html/mage-d536498c/vendor/magento/framework/Model/ResourceModel/Db/AbstractDb.php(347): Magento\CheckoutAgreements\Model\ResourceModel\Agreement->_getLoadSelect('name', 'AGB', Object(Magento\CheckoutAgreements\Model\Agreement\Interceptor))
#11 /var/www/web28943373/html/mage-d536498c/vendor/magento/framework/Model/AbstractModel.php(536): Magento\Framework\Model\ResourceModel\Db\AbstractDb->load(Object(Magento\CheckoutAgreements\Model\Agreement\Interceptor), 'AGB', 'name')
#12 /var/www/web28943373/html/mage-d536498c/generated/code/Magento/CheckoutAgreements/Model/Agreement/Interceptor.php(544): Magento\Framework\Model\AbstractModel->load('AGB', 'name')
#13 /var/www/web28943373/html/mage-d536498c/app/code/FireGento/MageSetup/Model/Setup/SubProcessor/AgreementsSubProcessor.php(105): Magento\CheckoutAgreements\Model\Agreement\Interceptor->load('AGB', 'name')
#14 /var/www/web28943373/html/mage-d536498c/app/code/FireGento/MageSetup/Service/SetupService.php(78): FireGento\MageSetup\Model\Setup\SubProcessor\AgreementsSubProcessor->process(Object(FireGento\MageSetup\Model\Config))
#15 /var/www/web28943373/html/mage-d536498c/app/code/FireGento/MageSetup/Command/SetupRunCommand.php(160): FireGento\MageSetup\Service\SetupService->execute()
#16 /var/www/web28943373/html/mage-d536498c/vendor/symfony/console/Command/Command.php(241): FireGento\MageSetup\Command\SetupRunCommand->execute(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
#17 /var/www/web28943373/html/mage-d536498c/vendor/symfony/console/Application.php(843): Symfony\Component\Console\Command\Command->run(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
#18 /var/www/web28943373/html/mage-d536498c/vendor/symfony/console/Application.php(193): Symfony\Component\Console\Application->doRunCommand(Object(FireGento\MageSetup\Command\SetupRunCommand), Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
#19 /var/www/web28943373/html/mage-d536498c/vendor/magento/framework/Console/Cli.php(104): Symfony\Component\Console\Application->doRun(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
#20 /var/www/web28943373/html/mage-d536498c/vendor/symfony/console/Application.php(117): Magento\Framework\Console\Cli->doRun(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
#21 /var/www/web28943373/html/mage-d536498c/bin/magento(23): Symfony\Component\Console\Application->run()
#22 {main}

Can you please say me how can i solve this problem?
Thanks

@mautz-et-tong
Copy link
Contributor

This error ist MySQL-Server related. Maybe your password or other credentials in the magento config is wrong. But this has nothing to do with this module.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants