diff --git a/data/templates/mysql/my.cnf b/data/templates/mysql/my.cnf index 2d4e1df2a..cf9e6ddd7 100644 --- a/data/templates/mysql/my.cnf +++ b/data/templates/mysql/my.cnf @@ -36,6 +36,9 @@ read_rnd_buffer_size = 256K net_buffer_length = 2K thread_stack = 128K +# to avoid corruption on powerfailure +default-storage-engine=innodb + # Don't listen on a TCP/IP port at all. This can be a security enhancement, # if all processes that need to connect to mysqld run on the same host. # All interaction with mysqld must be made via Unix sockets or named pipes.