The default table type is MyISAM. One must manually specify INNODB when creating a table to user that table type. By default, MySQL stores all INNODB tables in a once, continuously growing, file in /var/lib/mysql. This behavior can be altered by setting:
Code:
[mysqld]
innodb_file_per_table
in /etc/my.cnf and restarting the MySQL service. This will cause new INNODB tables to be created in the directory of the database. e.g /var/lib/mysql/user_dbname/table_name.ibd rather than the central file. Tables that exist already in the central file must be:
1. Dumped
2. Dropped
3. Restored
in order to be moved to the per-database file.
You can learn more here:
http://dev.mysql.com/doc/refman/5.0/...iguration.html