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!

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:
    151
    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:
    168
    Location:
    France
    cPanel Access Level:
    Root Administrator
    /var/lib/mysql/

    Good luck !
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  3. cPanelDavidG

    cPanelDavidG Technical Product Specialist

    Joined:
    Nov 29, 2006
    Messages:
    11,216
    Likes Received:
    10
    Trophy Points:
    313
    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:
    168
    Try here:
    /var/lib/mysql
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  5. yapluka

    yapluka Well-Known Member

    Joined:
    Dec 24, 2003
    Messages:
    301
    Likes Received:
    1
    Trophy Points:
    168
    Location:
    France
    cPanel Access Level:
    Root Administrator
    I beat you all ! :D
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  6. hosterplus

    hosterplus Member

    Joined:
    Oct 13, 2003
    Messages:
    18
    Likes Received:
    0
    Trophy Points:
    151
    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

  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