The Community Forums

Interact with an entire community of cPanel & WHM users!
  1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

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:
    8
    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
     
Loading...

Share This Page