{"id":3848,"date":"2018-01-30T16:39:43","date_gmt":"2018-01-30T16:39:43","guid":{"rendered":"https:\/\/qbytes.cloud\/?p=3848"},"modified":"2018-01-30T16:39:43","modified_gmt":"2018-01-30T16:39:43","slug":"mariadb-cnf-files","status":"publish","type":"post","link":"https:\/\/www.qbytes.cloud\/index.php\/2018\/01\/30\/mariadb-cnf-files\/","title":{"rendered":"MariaDB cnf files"},"content":{"rendered":"<p>Here is the original \/etc\/my.cnf file for a default mariadb installation:<\/p>\n<pre class=\"brush: bash; title: ; notranslate\" title=\"\">\n&#x5B;mysqld]\ndatadir=\/var\/lib\/mysql\nsocket=\/var\/lib\/mysql\/mysql.sock\n# Disabling symbolic-links is recommended to prevent assorted security risks\nsymbolic-links=0\n# Settings user and group are ignored when systemd is used.\n# If you need to run mysqld under a different user or group,\n# customize your systemd unit file for mariadb according to the\n# instructions in http:\/\/fedoraproject.org\/wiki\/Systemd\n\n&#x5B;mysqld_safe]\nlog-error=\/var\/log\/mariadb\/mariadb.log\npid-file=\/var\/run\/mariadb\/mariadb.pid\n\n#\n# include all files from the config directory\n#\n!includedir \/etc\/my.cnf.d\n\n<\/pre>\n<p>Location of other .cnf files you can use:<\/p>\n<pre class=\"brush: bash; title: ; notranslate\" title=\"\">\n\/usr\/share\/mysql\/my-huge.cnf\n\/usr\/share\/mysql\/my-innodb-heavy-4G.cnf\n\/usr\/share\/mysql\/my-large.cnf\n\/usr\/share\/mysql\/my-medium.cnf\n\/usr\/share\/mysql\/my-small.cnf\n\n<\/pre>\n","protected":false},"excerpt":{"rendered":"<p>Here is the original \/etc\/my.cnf file for a default mariadb installation: &#x5B;mysqld] datadir=\/var\/lib\/mysql socket=\/var\/lib\/mysql\/mysql.sock # Disabling symbolic-links is recommended to prevent assorted security risks symbolic-links=0 # 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 &#8230; <a title=\"MariaDB cnf files\" class=\"read-more\" href=\"https:\/\/www.qbytes.cloud\/index.php\/2018\/01\/30\/mariadb-cnf-files\/\" aria-label=\"Read more about MariaDB cnf files\">Read more<\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[70],"tags":[],"class_list":["post-3848","post","type-post","status-publish","format-standard","hentry","category-mysql"],"_links":{"self":[{"href":"https:\/\/www.qbytes.cloud\/index.php\/wp-json\/wp\/v2\/posts\/3848","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.qbytes.cloud\/index.php\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.qbytes.cloud\/index.php\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.qbytes.cloud\/index.php\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.qbytes.cloud\/index.php\/wp-json\/wp\/v2\/comments?post=3848"}],"version-history":[{"count":0,"href":"https:\/\/www.qbytes.cloud\/index.php\/wp-json\/wp\/v2\/posts\/3848\/revisions"}],"wp:attachment":[{"href":"https:\/\/www.qbytes.cloud\/index.php\/wp-json\/wp\/v2\/media?parent=3848"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.qbytes.cloud\/index.php\/wp-json\/wp\/v2\/categories?post=3848"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.qbytes.cloud\/index.php\/wp-json\/wp\/v2\/tags?post=3848"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}