Please whitelist cPanel in your adblocker so that you’re able to see our version release promotions, thanks!

The Community Forums

Interact with an entire community of cPanel & WHM users!

cPanel api2 MysqlFE::listdbs returns only first mysql database

Discussion in 'cPanel Developers' started by chamithlkml, Mar 24, 2016.

  1. chamithlkml

    chamithlkml Member

    Joined:
    Apr 2, 2014
    Messages:
    22
    Likes Received:
    0
    Trophy Points:
    1
    cPanel Access Level:
    DataCenter Provider
    Hi,
    Test cPanel account has got 3 mysql databases. But when I try with cPanel api2 MysqlFE::listdbs, it returns only the first database always. This was reproduced for few other cPanel accounts too.
    cPanel version: WHM 54 (build 18). Please help me to find a way to get the list of user databases.
     
  2. cPDavidN

    cPDavidN cPanel Developer
    Staff Member

    Joined:
    Mar 19, 2013
    Messages:
    42
    Likes Received:
    3
    Trophy Points:
    83
    cPanel Access Level:
    DataCenter Provider
    Hello,

    Thanks for contacting us. I have not been able to reproduce this behavior. Could you open a support ticket so we can identify the issue with your test environment? cPanel Customer Portal

    Thanks,

    David Nielson
    cPanel Developer
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
Loading...

Share This Page

  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice