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.

How to access MySQL db if in rescue mode

Discussion in 'Database Discussions' 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:
    30,678
    Likes Received:
    649
    Trophy Points:
    113
    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.
     
Loading...

Share This Page