Layer7 API Management

Expand all | Collapse all

Unable to configure Database Connection

  • 1.  Unable to configure Database Connection

    Posted 04-19-2017 07:29 AM

    Hi,

     

    I had already installed and configured CA API Gateway and was using Embedded database. but now I want to use MySQL database. When I am trying to configure it using ./setup.sh, I am getting error "Cannot connect to database". Can anyone help?



  • 2.  Re: Unable to configure Database Connection

    Posted 04-19-2017 09:21 AM

    Hi Ruchita.mantri ,

     

    Are you using the right credentials? 

     

     

    /opt/SecureSpan/Gateway/runtime/bin/setup.sh --> This script is run to configure the gateway after it has been installed. 

     

    When we choose option 2 --> configure the Layer 7 Gateway 

    it asks us for the Administrative Database Username: 

     

    From the documentation: Enter the user name of the root MySQL user. 

     

    Does this user exists in mysql? If so, Are you able to login to mysql using this user?

     

    Regards

    Seenu mathew



  • 3.  Re: Unable to configure Database Connection

    Posted 04-20-2017 06:34 AM

    Hi Ruchita.mantri ,

     

    Has the above solution worked for you? If so, please mark it as correct. 

     

    Regards

    Seenu Mathew