Changing default storage engine in MySQL

The setting in my.cnf to change the default storage engine to InnoDB

[2010-09-15]

I always forget this! So here it is:

# /etc/mysql/my.cnf
# ...
[mysqld]
default-storage_engine = InnoDB

And then restart MySQL.