The troubleshooting steps for
problems depend on when the problem occurs: during startup of the
MySQL server, or during normal operations when a DML or DDL
statement fails due to problems at the file system level.
If something goes wrong when
InnoDB attempts to
initialize its tablespace or its log files, delete all files
ibdata files and all redo log files
If you created any
InnoDB tables, also delete
.ibd files from the MySQL database
directories. Then try initializing
again. For easiest troubleshooting, start the MySQL server from a
command prompt so that you see what is happening.
InnoDB prints an operating system error
during a file operation, usually the problem has one of the
Make sure the
InnoDBdata file directory and the
InnoDBlog directory exist.
Make sure mysqld has access rights to create files in those directories.
Make sure mysqld can read the proper
my.inioption file, so that it starts with the options that you specified.
Make sure the disk is not full and you are not exceeding any disk quota.
Make sure that the names you specify for subdirectories and data files do not clash.
Doublecheck the syntax of the
innodb_data_file_pathvalues. In particular, any
MAXvalue in the
innodb_data_file_pathoption is a hard limit, and exceeding that limit causes a fatal error.