InnoDBInnoDB storage engine is enabled by default.
InnoDB tables, add the skip-innodb to the MySQL option file.
InnoDB configuration options are specified, MySQL creates files in the MySQL data directory:
ibdata1
named ib_logfile0 and ib_logfile1
InnoDB tablespace files, use the innodb_data_file_path option in the [mysqld] section of the my.cnf option file.
[mysqld]innodb_data_file_path=ibdata1:10M:autoextend
InnoDB creates tablespace files in the MySQL data directory by default.
innodb_data_home_dir option.
ibdata1 and ibdata2 but create them in the /ibdata directory, configure InnoDB like this:
[mysqld]innodb_data_home_dir = /ibdata
innodb_data_file_path=ibdata1:5M;ibdata2:5M:autoextend
InnoDB does not create directories, so make sure the /ibdata directory exists before starting the server.
mkdir command to create any necessary directories.
Is there a sample InnoDB configuration file?
© 2007 John Michael Pierobon