| Current Path : /etc/my.cnf.d/ |
| Current File : //etc/my.cnf.d/server.cnf |
# # These groups are read by MariaDB server. # Use it for options that only the server (but not clients) should see # # See the examples of server my.cnf files in /usr/share/mysql/ # # this is read by the standalone daemon and embedded servers [server] # this is only for the mysqld standalone daemon [mysqld] pam_use_cleartext_plugin = on plugin_load_add = auth_pam ssl-cert=/etc/my.cnf.d/pki/STAR_iiita_ac_in.crt ssl-ca=/etc/my.cnf.d/pki/STAR_iiita_ac_in.ca-bundle ssl-key=/etc/my.cnf.d/pki/iiitaSSL_PRIVATEkey.txt character-set-server=utf8 innodb_buffer_pool_size=4096M query_cache_size=128M tmp_table_size= 64M max_heap_table_size= 64M slow-query-log = 1 slow-query-log-file = /var/lib/mysql/mysql-slow.log long_query_time = 1 query_cache_type = 1 query_cache_limit = 256K query_cache_min_res_unit = 2k general_log_file = /var/lib/mysql/mysql.log general_log = 1 # # * Galera-related settings # [galera] # Mandatory settings #wsrep_on=ON #wsrep_provider= #wsrep_cluster_address= #binlog_format=row #default_storage_engine=InnoDB #innodb_autoinc_lock_mode=2 # # Allow server to accept connections on all interfaces. # #bind-address=0.0.0.0 # # Optional setting #wsrep_slave_threads=1 #innodb_flush_log_at_trx_commit=0 # 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] log_error=/var/log/mysql.log # This group is only read by MariaDB-10.4 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.4]