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!

WHM DataBase !

Discussion in 'General Discussion' started by hostdar, Aug 30, 2004.

  1. hostdar

    hostdar Member

    Joined:
    Nov 29, 2003
    Messages:
    7
    Likes Received:
    0
    Trophy Points:
    151
    Greetings ...

    Plese , Where I can found WHM DATABASE in the server ?

    I Mean that was all account's information's saved in it ...


    Thanks
     
  2. PWSowner

    PWSowner Well-Known Member

    Joined:
    Nov 10, 2001
    Messages:
    2,948
    Likes Received:
    4
    Trophy Points:
    343
    Location:
    ON, Canada
    Account information is in /var/cpanel/users directory.
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  3. hostdar

    hostdar Member

    Joined:
    Nov 29, 2003
    Messages:
    7
    Likes Received:
    0
    Trophy Points:
    151
    Hi ...

    Thanks for your replay ,

    I Mean the (DataBase) Where all accounts info is saved in it , Because I Need it in some php script's to connect to the whm database ...


    Can You Found It ?

    Thanks
     
  4. PWSowner

    PWSowner Well-Known Member

    Joined:
    Nov 10, 2001
    Messages:
    2,948
    Likes Received:
    4
    Trophy Points:
    343
    Location:
    ON, Canada
    If you mean where each domain's account info, like package, space, bandwidth, and so on, is stored, each account uses a simple text file in /var/cpanel/users to record this info.

    Here's one of mine for an example:

    BWLIMIT=10737418240
    DNS=************.net
    IP=209.***.***.**
    MAXADDON=1
    MAXFTP=10
    MAXLST=5
    MAXPARK=1
    MAXPOP=100
    MAXSQL=4
    MAXSUB=10
    OWNER=********
    PLAN=WH200
    RS=fullfeature
    STARTDATE=1048098489



    Cpanel uses flat file database files, not sql databases, for everything.
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  5. hostdar

    hostdar Member

    Joined:
    Nov 29, 2003
    Messages:
    7
    Likes Received:
    0
    Trophy Points:
    151
    Thanks squirrel :)
     
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