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.

Disable innodb_file_per_table

Discussion in 'Database Discussions' started by axinos, Jun 3, 2013.

  1. axinos

    axinos Member

    Joined:
    Sep 30, 2006
    Messages:
    5
    Likes Received:
    0
    Trophy Points:
    1
    cPanel Access Level:
    Root Administrator
    Hello,

    I have 24GB RAM i7 dedicated server, running CPanel 11.36 with MySQL 5.1.68. In config file I have innodb_file_per_table enabled. Is it safe to just disable the option, not doing any damage to databases at the same time after MySQL restarts?

    Thanks.
     
  2. cPanelMichael

    cPanelMichael Forums Analyst
    Staff Member

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

    Per MySQL documentation:

    If you remove the innodb_file_per_table line from my.cnf and restart the server, InnoDB creates tables inside the shared tablespace files again.

    This is documented at:

    MySQL 5.1 - Innodb Multiple Tablespaces

    Thank you.
     
Loading...

Share This Page