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 to find lbdata1 and database folder?

Discussion in 'Database Discussions' started by anishgiri, Jun 18, 2014.

  1. anishgiri

    anishgiri Registered

    Joined:
    Jun 18, 2014
    Messages:
    4
    Likes Received:
    0
    Trophy Points:
    1
    cPanel Access Level:
    Root Administrator
    It should be under lib/var/mysql right? Using ssh and going to lib/var/mysql, i can't find the lbdata1 and the database folder(the one that contains frm file).
     
  2. cPanelMichael

    cPanelMichael Forums Analyst
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    30,678
    Likes Received:
    652
    Trophy Points:
    113
    cPanel Access Level:
    Root Administrator
    Hello :)

    Please post the contents of your /etc/my.cnf file for us to review. It's possible you have configured an alternate location for your MySQL data directory.

    Thank you.
     
  3. Archmactrix

    Archmactrix Well-Known Member

    Joined:
    Jan 20, 2012
    Messages:
    132
    Likes Received:
    0
    Trophy Points:
    16
    cPanel Access Level:
    Root Administrator
    If you are using the default location on CentOS it should be in:

    Code:
    /var/lib/mysql
     
  4. cPanelMichael

    cPanelMichael Forums Analyst
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    30,678
    Likes Received:
    652
    Trophy Points:
    113
    cPanel Access Level:
    Root Administrator
    Yes, the "/var/lib/mysql" directory is used as default. I'm presuming the original post just mistyped "/lib/var/mysql", but you are right it's definitely worth pointing out.

    Thank you.
     
Loading...

Share This Page