There is a server variable with a similar name innodb_doublewritethat can be used to check if this write method is enabled:
mysql> select @@ innodb_doublewrite;
+ ---------------------- +
| @@ innodb_doublewrite |
+ ---------------------- +
| 1 |
+ ---------------------- +
1 row in set (0.15 sec)
To set the appropriate mode, use the parameter --innodb-doublewritefor the server start command (CLI) or innodb_doublewrite.
source
share