Increase innodb_page_size
for mysql
#6543
-
Is there a way to configure the I tried to add a custom The error is caused by a mismatch between the page size in your existing InnoDB data files and the innodb_page_size value that you're trying to start MySQL with. Specifically, your data file (./ibdata1) was created with a page size of 16KB (16384), but you're now trying to start MySQL with a page size of 64KB (65536). InnoDB cannot change the page size for existing data files. When importing I get the following error:
by default the innodb_page_size is 16k mysql> SHOW VARIABLES LIKE "innodb_page_size";
+------------------+-------+
| Variable_name | Value |
+------------------+-------+
| innodb_page_size | 16384 |
+------------------+-------+
1 row in set (0.01 sec) |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 21 replies
-
Can you say why you want to change
The problem is that the But I doubt that changing this value is a good idea. Interested in why you think it is. |
Beta Was this translation helpful? Give feedback.
@rfay After some more investigation with the client (who manages their own mysql docker container) I found that they have set
innodb_strict_mode=OFF
in production.