Layer7 API Management

Expand all | Collapse all

api gateway configuration

  • 1.  api gateway configuration

    Posted 06-30-2017 09:53 AM

    Hi There,

    Getting following error while configuring gateway

    Error during node configuration ' Dataase conneciton error 'Access denied for user 'gateway@localhost' (using password :yes) .Pls advice.

    I am using virtual appliance and configuring the gateway with root user.

  • 2.  Re: api gateway configuration

    Posted 07-05-2017 01:24 PM

    Good afternoon,


    Is this the first node in the cluster or are you adding additional nodes? Also is the primary DB local to the gateway node trying to be configured. This error is normally due to either a password issue or grants for the user.




    Stephen Hughes

    Director, CA Support

  • 3.  Re: api gateway configuration

    Posted 10-23-2017 07:35 AM


    I've got this problem too. I am upgrading appliance version of CA API Developer portal from v 3.5 to v 3.5 CR5. This script should create necessary objects in SSG in order to make cooperation between API developer portal and SSG possible...


    [root@adp02 SecureSpan]# sh
    API Developer Portal 3.5 Gateway Installation
    Checking version...
    Found version 9.2.x
    Pre-upgrade checks are complete.
    Do you want to proceed with the upgrade [y/n]? y
    Starting installation...
    Stopping gateway...
    Shutting down Gateway Services:                            [  OK  ]
    Creating backup & copying new files...
    restoring your portal metrics config...
    Running Portal Metrics tests...
    20 Oct 2017 14:46:37,491 DEBUG PortalMetricsSyncUtilityMain - test selected
    20 Oct 2017 14:46:37,493 INFO  PortalMetricsSyncUtilityMain - Testing database connections.
    Exception in thread "main" java.sql.SQLException: Access denied for user 'gateway'@'localhost' (using password: YES)
    at com.mysql.jdbc.SQLError.createSQLException(
    at com.mysql.jdbc.MysqlIO.checkErrorPacket(
    at com.mysql.jdbc.MysqlIO.checkErrorPacket(
    at com.mysql.jdbc.MysqlIO.checkErrorPacket(
    at com.mysql.jdbc.MysqlIO.proceedHandshakeWithPluggableAuthentication(
    at com.mysql.jdbc.MysqlIO.doHandshake(
    at com.mysql.jdbc.ConnectionImpl.coreConnect(
    at com.mysql.jdbc.ConnectionImpl.connectOneTryOnly(
    at com.mysql.jdbc.ConnectionImpl.createNewIO(
    at com.mysql.jdbc.ConnectionImpl.<init>(
    at com.mysql.jdbc.JDBC4Connection.<init>(
    at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
    at sun.reflect.NativeConstructorAccessorImpl.newInstance(
    at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(
    at java.lang.reflect.Constructor.newInstance(
    at com.mysql.jdbc.Util.handleNewInstance(
    at com.mysql.jdbc.ConnectionImpl.getInstance(
    at com.mysql.jdbc.NonRegisteringDriver.connect(
    at java.sql.DriverManager.getConnection(
    at java.sql.DriverManager.getConnection(
    at com.l7tech.portal.metrics.PortalMetricsSyncUtilityMain.a(Unknown Source)
    at com.l7tech.portal.metrics.PortalMetricsSyncUtilityMain.main(Unknown Source)
    ... test done.
    Starting gateway...
    Starting Gateway Services:                                 [  OK  ]
    Setup complete.
    Backup saved to /opt/SecureSpan/backup.tgz