Can Magento connect to an AWS DB with port?

0

I'm having trouble trying to get my Magento installation running on the AWS server, site and ratification server run normally.

When I try to connect without the port in the local.xml it times out on the connection because the default is not released. This is an indication that it is barred from this connection, however when I put the port it simply gets infinite load on the page and does not access the DB.

Important information: I can access the DB through my local machine by connecting directly, and also by the server with ssh.

Follow my local.xml:

<config>
    <global>
        <install>
            <date><![CDATA[Wed, 22 Mar 2017 15:12:56 +0000]]></date>
        </install>
        <crypt>
            <key><![CDATA[4a148a6f52c771d46f09defcce38d3a8]]></key>
        </crypt>
        <disable_local_modules>false</disable_local_modules>
        <resources>
            <db>
                <table_prefix><![CDATA[]]></table_prefix>
            </db>
            <default_setup>
                <connection>
                    <host><![CDATA[amazomaws.com:PORT]]></host>
                    <username><![CDATA[usuario]]></username>
                    <password><![CDATA[senha]]></password>
                    <dbname><![CDATA[bancodedados]]></dbname>
                    <initStatements><![CDATA[SET NAMES utf8]]></initStatements>
                    <model><![CDATA[mysql4]]></model>
                    <type><![CDATA[pdo_mysql]]></type>
                    <pdoType><![CDATA[]]></pdoType>
                    <active>1</active>
                </connection>
            </default_setup>
        </resources>
        <session_save><![CDATA[files]]></session_save>
    </global>
    <admin>
        <routers>
            <adminhtml>
                <args>
                    <frontName><![CDATA[admin]]></frontName>
                </args>
            </adminhtml>
        </routers>
    </admin>
</config>
    
asked by anonymous 24.02.2018 / 13:25

0 answers