DROP TABLE IF EXISTS test; CREATE TABLE IF NOT EXISTS test ( id INT(6) UNSIGNED AUTO_INCREMENT PRIMARY KEY ) ENGINE=InnoDB DEFAULT CHARSET=utf8;