DROP TABLESPACEtablespaceENGINE [=]engine
This statement drops a tablespace that was previously created
using CREATE TABLESPACE (see
Section 13.1.10, “CREATE TABLESPACE Syntax”).
Important: The tablespace to be
dropped must not contain any data files; in other words, before
you can drop a tablespace, you must first drop each of its data
files using ALTER TABLESPACE ... DROP
DATAFILE (see Section 13.1.4, “ALTER TABLESPACE Syntax”).
The ENGINE clause (required) specifies the
storage engine used by the tablespace. In MySQL 5.1, the only
accepted values for engine are
NDB and NDBCLUSTER.
DROP TABLESPACE was added in MySQL 5.1.6. In
MySQL 5.1, it is useful only with Disk Data storage for MySQL
Cluster. See Section 15.11, “MySQL Cluster Disk Data Tables”.

User Comments
Add your own comment.