Advertisement
Guest User

Untitled

a guest
Feb 12th, 2019
285
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. [server]
  2.  
  3. # this is only for the mysqld standalone daemon
  4. # Settings user and group are ignored when systemd is used.
  5. # If you need to run mysqld under a different user or group,
  6. # customize your systemd unit file for mysqld/mariadb according to the
  7. # instructions in http://fedoraproject.org/wiki/Systemd
  8. [mysqld]
  9. datadir=/var/lib/mysql
  10. socket=/var/lib/mysql/mysql.sock
  11. log-error=/var/log/mariadb/mariadb.log
  12. pid-file=/var/run/mariadb/mariadb.pid
  13.  
  14. max-allowed-packet=100M
  15. query_cache_size=30M
  16. innodb-buffer-pool-size=4000M
  17. innodb-thread-concurrency=6
  18.  
  19. innodb_flush_method=O_DIRECT
  20. innodb_flush_log_at_trx_commit=2
  21.  
  22.  
  23. innodb_log_file_size=500M
  24.  
  25. # this is only for embedded server
  26. [embedded]
  27.  
  28. # This group is only read by MariaDB servers, not by MySQL.
  29. # If you use the same .cnf file for MySQL and MariaDB,
  30. # you can put MariaDB-only options here
  31. [mariadb]
  32.  
  33. # This group is only read by MariaDB-10.0 servers.
  34. # If you use the same .cnf file for MariaDB of different versions,
  35. # use this group for options that older servers don't understand
  36. [mariadb-10.0]
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement