090803 8:51:55 InnoDB: Error: unable to create temporary file; errno: 2
090803 8:51:55 [ERROR] Plugin 'InnoDB' init function returned error.
090803 8:51:55 [ERROR] Plugin 'InnoDB' registration as a STORAGE ENGINE failed.
090803 8:51:55 [ERROR] Unknown/unsupported table type: INNODB
Solution: MySQL's config wizard generates my.ini and misses a directory to configure tmpdir
Solution: Add a line to my.ini
tmpdir="D:/Program Files/MySQL/MySQL Server 5.1/DataFiles/Data/"
( directory is optional)
If the installation can't be completed, just kill the installer and set the above.
Since the previous system was broken, I wanted to move the previous database data, so I copied all the previous data files directly, and found that
InnoDB: Error: log file .\ib_logfile0 is of different size 0 99614720 bytes
InnoDB: than specified in the .cnf file 0 536870912 bytes!
161031 10:44:35 [ERROR] Plugin 'InnoDB' init function returned error.
This is to see what the value is based on the value of 99614720/1024/1024 , here is 95
So I have to set innodb_log_file_size=95M in my.ini !
It is no problem to start again, and all the previous table data are all over!