DROP DATABASE IF EXISTS mytestdb;
CREATE DATABASE mytestdb;
CREATE TABLE mytestdb.NewTable (ID int primary key, name varchar(10))
ENGINE=InnoDB;
RENAME TABLE mytestdb.NewTable TO mytestdb.NewTablea;
RENAME TABLE mytestdb.NewTablea TO mytestdb.NewTableb;
DROP DATABASE mytestdb;
