How to set storage to MyISAM?

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • rob25
    New Member
    • May 2007
    • 2

    How to set storage to MyISAM?

    How do I set storage to MyISAM?
  • ronverdonk
    Recognized Expert Specialist
    • Jul 2006
    • 4259

    #2
    I do not understand your question so, what do you mean? storage for a table, to the MyISAM engine? Please elaborate a bit more.

    Ronald

    Comment

    • Atli
      Recognized Expert Expert
      • Nov 2006
      • 5062

      #3
      Hi.

      You can set the default storage engine for the session by issuing:
      [code=sql]
      SET storage_engine= MYISAM;
      [/code]
      Or, you can set the engine for each individual table like so:
      [code=sql]
      CREATE TABLE t (i INT) ENGINE = MYISAM;
      [/code]
      To alter the engine for a table that already exists, you can do:
      [code=sql]
      ALTER TABLE t ENGINE = MYISAM;
      [/code]

      If this is not what you are talking about, please elaborate.

      Comment

      Working...