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.

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:
    1
    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:
    3
    Trophy Points:
    38
    Location:
    ON, Canada
    Account information is in /var/cpanel/users directory.
     
  3. hostdar

    hostdar Member

    Joined:
    Nov 29, 2003
    Messages:
    7
    Likes Received:
    0
    Trophy Points:
    1
    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:
    3
    Trophy Points:
    38
    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.
     
  5. hostdar

    hostdar Member

    Joined:
    Nov 29, 2003
    Messages:
    7
    Likes Received:
    0
    Trophy Points:
    1
    Thanks squirrel :)
     
Loading...

Share This Page