Quantcast
Channel: MySQL Forums - InnoDB
Viewing all articles
Browse latest Browse all 1956

InnonDB logfile size mismatch (1 reply)

$
0
0
Hi,

I received the following error today while trying to start a newly created mysqldb.

"InnoDB: Error: log file /db02/mysqldata/3307/ib_logfile1 is of different size 0 188379136 bytes
InnoDB: than specified in the .cnf file 0 2097152000 bytes!"

I was finally able to overcome it.

My question is why innodb behaves this way? I came to know that this happens when the size of file created at OS level does not match with the size mentioned in my.cnf against parameter innodb_log_file_size.

Why would mysql try to create a logfile that does not match with value present in my.cnf?

Imp Note : I was trying to create a the msyql in versio 5.5.17 while the my.cnf was copies from another mysql db with 5.1.32 version. In 5.1.32 version the value in my.cnf was 2000M while i got it fixed by setting it as 100M.

Please let me know your views.

Viewing all articles
Browse latest Browse all 1956

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>