diff --git a/apidocs/src/samples/db-get-default-instance-configuration-response-json.txt b/apidocs/src/samples/db-get-default-instance-configuration-response-json.txt index 44861ea0ae..ecbc644f4e 100644 --- a/apidocs/src/samples/db-get-default-instance-configuration-response-json.txt +++ b/apidocs/src/samples/db-get-default-instance-configuration-response-json.txt @@ -1,5 +1,5 @@ HTTP/1.1 200 OK Content-Type: application/json -Content-Length: 1110 +Content-Length: 1124 Date: Mon, 18 Mar 2013 19:09:17 GMT diff --git a/apidocs/src/samples/db-get-default-instance-configuration-response.json b/apidocs/src/samples/db-get-default-instance-configuration-response.json index e73e84b53e..64b8e50f31 100644 --- a/apidocs/src/samples/db-get-default-instance-configuration-response.json +++ b/apidocs/src/samples/db-get-default-instance-configuration-response.json @@ -18,7 +18,7 @@ "max_connections": "100", "max_heap_table_size": "16M", "max_user_connections": "100", - "myisam-recover": "BACKUP", + "myisam-recover-options": "BACKUP,FORCE", "open_files_limit": "512", "pid_file": "/var/run/mysqld/mysqld.pid", "port": "3306", diff --git a/releasenotes/notes/update-myisam-recover-opt-232b9d680bc362bf.yaml b/releasenotes/notes/update-myisam-recover-opt-232b9d680bc362bf.yaml new file mode 100644 index 0000000000..1e047a2a1b --- /dev/null +++ b/releasenotes/notes/update-myisam-recover-opt-232b9d680bc362bf.yaml @@ -0,0 +1,4 @@ +--- +fixes: + - Replace the deprecated 'myisam-recover' option + with its newer counterpart 'myisam-recover-options'. diff --git a/trove/templates/mariadb/config.template b/trove/templates/mariadb/config.template index f0155eb956..88614bdeaf 100644 --- a/trove/templates/mariadb/config.template +++ b/trove/templates/mariadb/config.template @@ -11,7 +11,6 @@ user = mysql port = 3306 basedir = /usr datadir = /var/lib/mysql/data -####tmpdir = /tmp tmpdir = /var/tmp pid_file = /var/run/mysqld/mysqld.pid skip-external-locking = 1 @@ -19,7 +18,7 @@ key_buffer_size = {{ (50 * flavor['ram']/512)|int }}M max_allowed_packet = {{ (1024 * flavor['ram']/512)|int }}K thread_stack = 192K thread_cache_size = {{ (4 * flavor['ram']/512)|int }} -myisam-recover = BACKUP +myisam-recover-options = BACKUP,FORCE query_cache_type = 1 query_cache_limit = 1M query_cache_size = {{ (8 * flavor['ram']/512)|int }}M diff --git a/trove/templates/mysql/config.template b/trove/templates/mysql/config.template index 78ed025e6b..70f8f27d7a 100644 --- a/trove/templates/mysql/config.template +++ b/trove/templates/mysql/config.template @@ -9,7 +9,6 @@ user = mysql port = 3306 basedir = /usr datadir = /var/lib/mysql/data -####tmpdir = /tmp tmpdir = /var/tmp pid_file = /var/run/mysqld/mysqld.pid skip-external-locking = 1 @@ -17,7 +16,7 @@ key_buffer_size = {{ (50 * flavor['ram']/512)|int }}M max_allowed_packet = {{ (1024 * flavor['ram']/512)|int }}K thread_stack = 192K thread_cache_size = {{ (4 * flavor['ram']/512)|int }} -myisam-recover = BACKUP +myisam-recover-options = BACKUP,FORCE query_cache_type = 1 query_cache_limit = 1M query_cache_size = {{ (8 * flavor['ram']/512)|int }}M diff --git a/trove/templates/percona/config.template b/trove/templates/percona/config.template index ee70128ace..83807944d2 100644 --- a/trove/templates/percona/config.template +++ b/trove/templates/percona/config.template @@ -9,7 +9,6 @@ user = mysql port = 3306 basedir = /usr datadir = /var/lib/mysql/data -####tmpdir = /tmp tmpdir = /var/tmp pid_file = /var/run/mysqld/mysqld.pid skip-external-locking = 1 @@ -17,7 +16,7 @@ key_buffer_size = {{ (50 * flavor['ram']/512)|int }}M max_allowed_packet = {{ (1024 * flavor['ram']/512)|int }}K thread_stack = 192K thread_cache_size = {{ (4 * flavor['ram']/512)|int }} -myisam-recover = BACKUP +myisam-recover-options = BACKUP,FORCE query_cache_type = 1 query_cache_limit = 1M query_cache_size = {{ (8 * flavor['ram']/512)|int }}M diff --git a/trove/templates/pxc/config.template b/trove/templates/pxc/config.template index ee70128ace..83807944d2 100644 --- a/trove/templates/pxc/config.template +++ b/trove/templates/pxc/config.template @@ -9,7 +9,6 @@ user = mysql port = 3306 basedir = /usr datadir = /var/lib/mysql/data -####tmpdir = /tmp tmpdir = /var/tmp pid_file = /var/run/mysqld/mysqld.pid skip-external-locking = 1 @@ -17,7 +16,7 @@ key_buffer_size = {{ (50 * flavor['ram']/512)|int }}M max_allowed_packet = {{ (1024 * flavor['ram']/512)|int }}K thread_stack = 192K thread_cache_size = {{ (4 * flavor['ram']/512)|int }} -myisam-recover = BACKUP +myisam-recover-options = BACKUP,FORCE query_cache_type = 1 query_cache_limit = 1M query_cache_size = {{ (8 * flavor['ram']/512)|int }}M