Commit 11a435ca authored by Jérome Perrin's avatar Jérome Perrin

erp5: enable mariadb core dump

https://mariadb.com/kb/en/enabling-core-dumps/
parent 66cd37af
...@@ -125,6 +125,7 @@ inline = ...@@ -125,6 +125,7 @@ inline =
{{ variable }} \ {{ variable }} \
{%- endfor %} {%- endfor %}
{%- endif %} {%- endif %}
ulimit -c unlimited
exec "$basedir/bin/mysqld" --defaults-file='{{defaults_file}}' "$@" exec "$basedir/bin/mysqld" --defaults-file='{{defaults_file}}' "$@"
[versions] [versions]
......
...@@ -42,7 +42,7 @@ md5sum = f45dc4568b63de39f49b8fecca5deef1 ...@@ -42,7 +42,7 @@ md5sum = f45dc4568b63de39f49b8fecca5deef1
[template-my-cnf] [template-my-cnf]
filename = my.cnf.in filename = my.cnf.in
md5sum = 2c553103f1196f95e4b6d0716a1e0638 md5sum = 99ad97bb28638c35054b10ff65bcc437
[template-mariadb-initial-setup] [template-mariadb-initial-setup]
filename = mariadb_initial_setup.sql.in filename = mariadb_initial_setup.sql.in
......
...@@ -85,6 +85,9 @@ character_set_server = {{ parameter_dict['character-set-server'] }} ...@@ -85,6 +85,9 @@ character_set_server = {{ parameter_dict['character-set-server'] }}
collation_server = {{ parameter_dict['collation-server'] }} collation_server = {{ parameter_dict['collation-server'] }}
skip_character_set_client_handshake skip_character_set_client_handshake
# debugging
core_file
{% if 'ssl-key' in parameter_dict -%} {% if 'ssl-key' in parameter_dict -%}
ssl_cert = {{ parameter_dict['ssl-crt'] }} ssl_cert = {{ parameter_dict['ssl-crt'] }}
ssl_key = {{ parameter_dict['ssl-key'] }} ssl_key = {{ parameter_dict['ssl-key'] }}
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment