Fix ignored database directories configuration
Confusingly, the variable ignore_db_dirs is set by passing it multiple times in the configuration file, once per directory. It is then read as a comma separated list, but cannot be set in this way. https://mariadb.com/kb/en/server-system-variables/#ignore_db_dirs Without this, the mariadb-upgrade script can fail as it attempts to process invalid databases. Change-Id: Ie997393935e04e127893643e4c72d7af07e993ff
This commit is contained in:
parent
28ac2fc7ee
commit
229ae217c1
@ -29,7 +29,9 @@ init-connect = 'SET NAMES utf8'
|
||||
character-set-server = utf8
|
||||
datadir = {{ galera_data_dir }}
|
||||
tmpdir = {{ galera_tmp_dir }}
|
||||
ignore_db_dirs = {{ galera_ignore_db_dirs | join(',') }}
|
||||
{% for ignored_db in galera_ignore_db_dirs %}
|
||||
ignore_db_dirs = {{ ignored_db }}
|
||||
{% endfor %}
|
||||
|
||||
bind-address = {{ galera_server_bind_address }}
|
||||
{% if galera_server_proxy_protocol_networks %}
|
||||
|
Loading…
Reference in New Issue
Block a user