Increase innodb_page_size
for mysql
#6543
Unanswered
leevigraham
asked this question in
Q&A
Replies: 1 comment 9 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.
9 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Is there a way to configure the
innodb_page_size
setting in mysql so that it applies before the mysql container is created and the db is created?I tried to add a custom
mysql.cnf
but I received an error: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
Beta Was this translation helpful? Give feedback.
All reactions