Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- [server]
- # this is only for the mysqld standalone daemon
- # Settings user and group are ignored when systemd is used.
- # If you need to run mysqld under a different user or group,
- # customize your systemd unit file for mysqld/mariadb according to the
- # instructions in http://fedoraproject.org/wiki/Systemd
- [mysqld]
- datadir=/var/lib/mysql
- socket=/var/lib/mysql/mysql.sock
- log-error=/var/log/mariadb/mariadb.log
- pid-file=/var/run/mariadb/mariadb.pid
- max-allowed-packet=100M
- query_cache_size=30M
- innodb-buffer-pool-size=4000M
- innodb-thread-concurrency=6
- innodb_flush_method=O_DIRECT
- innodb_flush_log_at_trx_commit=2
- innodb_log_file_size=500M
- # this is only for embedded server
- [embedded]
- # This group is only read by MariaDB servers, not by MySQL.
- # If you use the same .cnf file for MySQL and MariaDB,
- # you can put MariaDB-only options here
- [mariadb]
- # This group is only read by MariaDB-10.0 servers.
- # If you use the same .cnf file for MariaDB of different versions,
- # use this group for options that older servers don't understand
- [mariadb-10.0]
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement