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.

Where are the database files stored?

Discussion in 'General Discussion' started by hosterplus, May 15, 2007.

  1. hosterplus

    hosterplus Member

    Joined:
    Oct 13, 2003
    Messages:
    18
    Likes Received:
    0
    Trophy Points:
    1
    My hardrive crashed this morning with my Cpanel on it. I didn't have a backup of one of our accounts on it which i'm now smacking myself for.

    I can still access the drive using tools on my Windows system and can copy files onto my hardrive so I can later restore them.

    Where exactly is the database file stored for users mysql databases?

    Thanks in Advance,
    Sean
     
  2. yapluka

    yapluka Well-Known Member

    Joined:
    Dec 24, 2003
    Messages:
    301
    Likes Received:
    1
    Trophy Points:
    18
    Location:
    France
    cPanel Access Level:
    Root Administrator
    /var/lib/mysql/

    Good luck !
     
  3. cPanelDavidG

    cPanelDavidG Technical Product Specialist

    Joined:
    Nov 29, 2006
    Messages:
    11,279
    Likes Received:
    8
    Trophy Points:
    38
    Location:
    Houston, TX
    cPanel Access Level:
    Root Administrator
    /var/lib/mysql I believe.
     
  4. AlexV.

    AlexV. Well-Known Member

    Joined:
    Jun 15, 2006
    Messages:
    212
    Likes Received:
    1
    Trophy Points:
    16
    Try here:
    /var/lib/mysql
     
  5. yapluka

    yapluka Well-Known Member

    Joined:
    Dec 24, 2003
    Messages:
    301
    Likes Received:
    1
    Trophy Points:
    18
    Location:
    France
    cPanel Access Level:
    Root Administrator
    I beat you all ! :D
     
  6. hosterplus

    hosterplus Member

    Joined:
    Oct 13, 2003
    Messages:
    18
    Likes Received:
    0
    Trophy Points:
    1
    Thank you so much everyone! Wow that was a speedy fast response!

    Didn't even get a chance to get a drink! :)
     
Loading...

Share This Page