Layer7 API Management

  • 1.  Getting DB connection error while configuring Gateway under LINUX

    Posted Feb 05, 2018 03:37 AM

    Hello All,

     

    I am trying to install the CA API Gateway via LINUX . I have successfully installed Gateway under Red Hat Enterprise Linux but when i am trying to configure the gateway i am getting the below error while setting up the DataBase:

     

    An error occurred during configuration.

    Error saving configuration 'Database connection error 'Communications link failure

     

     

    Please help me on how to resolve the above one.

     

    Regards

    Pratyush



  • 2.  Re: Getting DB connection error while configuring Gateway under LINUX

    Posted Feb 05, 2018 06:42 AM

    Is the DB local to the gateway or remote.

    If local, can you check if you have proper grants in place and if remote along with grants can you check if gateway is able to reach that system.

     

    Is port 3306 listening at all? Is mysql service running ?



  • 3.  Re: Getting DB connection error while configuring Gateway under LINUX

    Posted Feb 05, 2018 10:29 PM

    Hi ,

     

    Thanks for your reply. 

     

    I checked and port 3306 is listening but when i checked MYSQL service its showing the below error:


    service: no such service mysql

     

    So i need to install MYSQl ?



  • 4.  Re: Getting DB connection error while configuring Gateway under LINUX

    Posted Feb 06, 2018 02:19 AM

    Now after trying i am getting the below error.

     

    Error saving configuration 'Database connection error 'Access denied for user 'gateway'@'localhost' (using password: NO)'.'

     

    Please help



  • 5.  Re: Getting DB connection error while configuring Gateway under LINUX
    Best Answer

    Posted Feb 06, 2018 03:30 AM

    i believe that is due to missing grants