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!

How to access MySQL db if in rescue mode

Discussion in 'Database Discussion' started by kreierul, Jan 25, 2015.

  1. kreierul

    kreierul Member

    Joined:
    Jan 16, 2015
    Messages:
    9
    Likes Received:
    0
    Trophy Points:
    1
    Location:
    Bucharest, Romania, Romania
    cPanel Access Level:
    Website Owner
    using hetzner root server with cpanel and I have a big problem and my server don't wanna start anymore.
    I managed to access SFTP in rescue mode with Cyberduck and getting all files from there .. but now question - where is MySQL cos I also want databases and then to reinstall again cPanel ..

    thank you in advance for any help
     
  2. cPanelMichael

    cPanelMichael Forums Analyst
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    44,367
    Likes Received:
    1,857
    Trophy Points:
    363
    cPanel Access Level:
    Root Administrator
    Hello :)

    Databases are stored by default in:

    /var/lib/mysql

    Note that there are no supported methods of restoring an entire file system. The only supported method is to restore the accounts from the individual cPanel-generated backup files, which include all of the necessary configuration data for the accounts. There are some unsupported methods of restoring a damaged server on the following thread:

    Moving cPanel Accounts from Damaged Disk

    Thank you.
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
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