server.j2 545 B

123456789101112131415161718192021222324
  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. datadir = {{ mariadb_datadir }}
  13. socket = {{ mariadb_socket }}
  14. {% if mariadb_slow_query_log_enabled == true %}
  15. slow_query_log = 1
  16. long_query_time = {{ mariadb_slow_query_time }}
  17. {% endif %}
  18. [embedded]
  19. [mariadb]