Commit 09923942 authored by Jérome Perrin's avatar Jérome Perrin

erp5: enable mariadb core dump

https://mariadb.com/kb/en/enabling-core-dumps/
parent 79ae0969
...@@ -124,6 +124,7 @@ inline = ...@@ -124,6 +124,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 = c0bde08ec6bd6d333315a15026266b65 md5sum = bb4074fe2933867174dc351290909045
[template-mariadb-initial-setup] [template-mariadb-initial-setup]
filename = mariadb_initial_setup.sql.in filename = mariadb_initial_setup.sql.in
......
...@@ -80,6 +80,9 @@ character_set_server = {{ parameter_dict['character-set-server'] }} ...@@ -80,6 +80,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