Enabling Storage Engines in Mysql DB Server

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • ScarletPimpernal
    New Member
    • Mar 2007
    • 39

    Enabling Storage Engines in Mysql DB Server

    Here are my Storage Engine Status.

    mysql> SHOW ENGINES;
    +------------+---------+----------------------------------------------------------------+
    | Engine | Support | Comment |
    +------------+---------+----------------------------------------------------------------+
    | MyISAM | DEFAULT | Default engine as of MySQL 3.23 with great performance |
    | MEMORY | YES | Hash based, stored in memory, useful for temporary tables |
    | InnoDB | NO | Supports transactions, row-level locking, and foreign keys |
    | BerkeleyDB | NO | Supports transactions and page-level locking |
    | BLACKHOLE | NO | /dev/null storage engine (anything you write to it disappears) |
    | EXAMPLE | NO | Example storage engine |
    | ARCHIVE | NO | Archive storage engine |
    | CSV | NO | CSV storage engine |
    | ndbcluster | NO | Clustered, fault-tolerant, memory-based tables |
    | FEDERATED | NO | Federated MySQL storage engine |
    | MRG_MYISAM | YES | Collection of identical MyISAM tables |
    | ISAM | NO | Obsolete storage engine |
    +------------+---------+----------------------------------------------------------------+
    12 rows in set (0.00 sec)

    I want to Enable the Engine InnoDB .. How can i do this?
  • Motoma
    Recognized Expert Specialist
    • Jan 2007
    • 3236

    #2
    Take a look at the CREATE DATABASE syntax.

    Comment

    • ScarletPimpernal
      New Member
      • Mar 2007
      • 39

      #3
      Thats my doubt,I can't able to modify that after creating the database ?

      Thanks,
      Scarlet

      Comment

      • Motoma
        Recognized Expert Specialist
        • Jan 2007
        • 3236

        #4
        ALTER TABLE tableName CHANGE TYPE=InnoDB

        Comment

        Working...