server.j2 483 B

12345678910111213141516171819202122
  1. #
  2. # These groups are read by MariaDB server.
  3. # Use it for options that only the server (but not clients) should see
  4. #
  5. # See the examples of server my.cnf files in /usr/share/mysql/
  6. #
  7. # this is read by the standalone daemon and embedded servers
  8. [server]
  9. [mysqld]
  10. bind-address = {{ mariadb_bind_address }}
  11. port = {{ mariadb_port }}
  12. {% if mariadb_slow_query_log_enabled == true %}
  13. slow_query_log = 1
  14. long_query_time = {{ mariadb_slow_query_time }}
  15. {% endif %}
  16. [embedded]
  17. [mariadb]