Skip to content
This repository was archived by the owner on Apr 6, 2018. It is now read-only.
This repository was archived by the owner on Apr 6, 2018. It is now read-only.

error when attempting to use console - no permission to access database #12

Description

@TheSearcher

hi i placed the script in the root of my magento.

i then tried to run the script with : php mdg_imc/shell/imc.php

however, permssion was refused by the target machine. i am using vagrant/virtual box

the message i receive is:

Fatal error: Uncaught exception 'PDOException' with message 'SQLSTATE[HY000] [20
02] No connection could be made because the target machine actively refused it.
' in C:\DevFolder\magentoKlierik\magento\lib\Zend\Db\Adapter\Pdo\Abstract.php:12
9
Stack trace:
#0 C:\DevFolder\magentoKlierik\magento\lib\Zend\Db\Adapter\Pdo\Abstract.php(129)
: PDO->__construct('mysql:host=loca...', 'magento', 'password', Array)
#1 C:\DevFolder\magentoKlierik\magento\lib\Zend\Db\Adapter\Pdo\Mysql.php(111): Z
end_Db_Adapter_Pdo_Abstract->_connect()
#2 C:\DevFolder\magentoKlierik\magento\lib\Varien\Db\Adapter\Pdo\Mysql.php(396):
Zend_Db_Adapter_Pdo_Mysql->_connect()
#3 C:\DevFolder\magentoKlierik\magento\lib\Zend\Db\Adapter\Abstract.php(460): Va
rien_Db_Adapter_Pdo_Mysql->_connect()
#4 C:\DevFolder\magentoKlierik\magento\lib\Zend\Db\Adapter\Pdo\Abstract.php(238)
: Zend_Db_Adapter_Abstract->query('SET NAMES utf8', Array)
#5 C:\DevFolder\magentoKlierik\magento\lib\Varien\Db\Adapter\Pdo\Mysql.php(504):
Zend_Db_Adapter_Pdo_Abstract->query('SET NAMES utf8', in C:\DevFolder\magentoKl

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions