my.cnf 1.2 KB

123456789101112131415161718192021222324252627282930313233343536373839
  1. # The MariaDB configuration file
  2. #
  3. # The MariaDB/MySQL tools read configuration files in the following order:
  4. # 0. "/etc/mysql/my.cnf" symlinks to this file, reason why all the rest is read.
  5. # 1. "/etc/mysql/mariadb.cnf" (this file) to set global defaults,
  6. # 2. "/etc/mysql/conf.d/*.cnf" to set global options.
  7. # 3. "/etc/mysql/mariadb.conf.d/*.cnf" to set MariaDB-only options.
  8. # 4. "~/.my.cnf" to set user-specific options.
  9. #
  10. # If the same option is defined multiple times, the last one will apply.
  11. #
  12. # One can use all long options that the program supports.
  13. # Run program with --help to get a list of available options and with
  14. # --print-defaults to see which it would actually understand and use.
  15. #
  16. # If you are new to MariaDB, check out https://mariadb.com/kb/en/basic-mariadb-articles/
  17. #
  18. # This group is read both by the client and the server
  19. # use it for options that affect everything
  20. #
  21. [client-server]
  22. # Port or socket location where to connect
  23. # port = 3306
  24. socket = /run/mysqld/mysqld.sock
  25. # Import all .cnf files from configuration directory
  26. [mariadbd]
  27. skip-host-cache
  28. skip-name-resolve
  29. #server_id = 1
  30. #log-bin=mysql-bin
  31. #binlog-do-db=tmrwatch
  32. #expire_logs_days=7
  33. #binlog_format=row
  34. !includedir /etc/mysql/mariadb.conf.d/
  35. !includedir /etc/mysql/conf.d/