nerdexam
Oracle

1Z0-882 · Question #5

Inspect the CREATE TABLE below: Mysql> CREATE TABLE foo (a INT, PRIMARY KEY (a)) ENGINE =InnoDB; Query Ok, 0 rows affected, 2 warnings (0.11 sec) Mysql> SHOW WARNINGS; Which two is true connecting…

The correct answer is D. MYSQL server was not started with the option default -storage -engine=InnoDB E. Needed to specify TYPE = InnoDB instead of ENGINE=InnoDB. See the full explanation below for the reasoning.

Question

Inspect the CREATE TABLE below:

Mysql> CREATE TABLE foo (a INT, PRIMARY KEY (a)) ENGINE =InnoDB; Query Ok, 0 rows affected, 2 warnings (0.11 sec) Mysql> SHOW WARNINGS; Which two is true connecting the meaning of the warnings?

Options

  • AThe InnoDB storage engine was disabled during server startup.
  • BGlobal variable skip _innodb was set to ON after the server had started.
  • CThe default storage engine MYISAM was used for the table created.
  • DMYSQL server was not started with the option default -storage -engine=InnoDB
  • ENeeded to specify TYPE = InnoDB instead of ENGINE=InnoDB

How the community answered

(37 responses)
  • A
    8% (3)
  • B
    16% (6)
  • C
    3% (1)
  • D
    73% (27)

Community Discussion

No community discussion yet for this question.

Full 1Z0-882 Practice