Comment 5 for bug 1631081

Revision history for this message
Sergei Glushchenko (sergei.glushchenko) wrote :

Probably 5.5 did not check the size... Here is from https://dev.mysql.com/doc/refman/5.5/en/innodb-parameters.html#sysvar_innodb_data_file_path:

The file sizes are specified KB, MB or GB (1024MB) by appending K, M or G to the size value. If specifying data file size in kilobytes (KB), do so in multiples of 1024. Otherwise, KB values are rounded off to nearest megabyte (MB) boundary.

and https://dev.mysql.com/doc/refman/5.5/en/innodb-resize-system-tablespace.html:

If the previous last data file is defined with the keyword autoextend, change its definition to use a fixed size, based on how large it has actually grown. Check the size of the data file, round it down to the closest multiple of 1024 × 1024 bytes (= 1MB), and specify this rounded size explicitly in innodb_data_file_path.

So, you can try to round the value as described above