2

I installed Percona Server 5.6.12-rc60.4, when I want create table such as :

CREATE TABLE IF NOT EXISTS `mydb`.`table` (
`id` INT NOT NULL AUTO_INCREMENT ,
`title` VARCHAR( 64 ) NOT NULL ,
PRIMARY KEY ( `id` ) 
) ENGINE = XtraDB DEFAULT CHARACTER SET = utf8 COLLATE = utf8_unicode_ci;

this error occurred:

 #1286 - Unknown storage engine 'XtraDB' 

How can I create a table with XtraDB engine?

0

1 Answer 1

5

XtraDB replaces InnoDB (it's compatible and a drop in replacement), so just add ENGINE = InnoDB

However, it should be the default in MySQL 5.5.x onwards

1
  • Using Engine=XtraDB works on 5.5. Don't know why not on 5.6. (Yes, using Engine=InnodB is equivalent)
    – Ethan
    Commented Dec 8, 2013 at 17:11

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.