maybe chmod 0644 'modules-load.d/.keep_sys-apps_systemd-0'
maybe chmod 0644 'motd.tail'
maybe chmod 0755 'mysql'
+maybe chmod 0755 'mysql/conf.d'
+maybe chmod 0644 'mysql/conf.d/mariadb.cnf'
+maybe chmod 0644 'mysql/conf.d/mysqld_safe_syslog.cnf'
+maybe chmod 0644 'mysql/conf.d/plugins.cnf'
+maybe chmod 0644 'mysql/conf.d/tokudb.cnf'
maybe chmod 0644 'mysql/my.cnf'
maybe chmod 0644 'mysql/mysqlaccess.conf'
maybe chmod 0644 'nail.rc'
--- /dev/null
+# MariaDB-specific config file.
+# Read by /etc/mysql/my.cnf
+
+[client]
+# Default is Latin1, if you need UTF-8 set this (also in server section)
+#default-character-set = utf8
+
+[mysqld]
+#
+# * Character sets
+#
+# Default is Latin1, if you need UTF-8 set all this (also in client section)
+#
+#character-set-server = utf8
+#collation-server = utf8_general_ci
+#character_set_server = utf8
+#collation_server = utf8_general_ci
+
+# vim: filetype=dosini
--- /dev/null
+[mysqld_safe]
+#skip_log_error
+#syslog
+
+# vim: filetype=dosini
--- /dev/null
+[mariadb]
+
+plugin-load-add = ha_federatedx.so
+plugin-load-add = locales.so
+plugin-load-add = query_cache_info.so
+plugin-load-add = query_response_time.so
+plugin-load-add = sql_errlog.so
+plugin-load-add = ha_oqgraph.so
+
+
+# vim: filetype=dosini
--- /dev/null
+[mariadb]
+# See https://mariadb.com/kb/en/how-to-enable-tokudb-in-mariadb/
+# for instructions how to enable TokuDB
+#
+# See https://mariadb.com/kb/en/tokudb-differences/ for differences
+# between TokuDB in MariaDB and TokuDB from http://www.tokutek.com/
+
+plugin-load-add = ha_tokudb.so
+
+# vim: filetype=dosini
#plugin-load=federated=ha_federated.so
loose-federated
+userstat = 1
+
[mysqldump]
quick
max_allowed_packet = 16M
interactive-timeout
[mariadb]
+
+#
+# * IMPORTANT: Additional settings that can override those from this file!
+# The files must end with '.cnf', otherwise they'll be ignored.
+#
+!includedir /etc/mysql/conf.d/
+
+# vim: filetype=dosini