./configure \
--prefix=/apm/server/mariadb \
--with-unix-socket-path=/apm/server/mariadb/mysql.sock
--DEFAULT-CHARSET=utf8 \
--DEFAULT-COLLATION=utf8_general_ci \
--enable-local-infile \
--localstatedir=/apm/apps/data \
--with-extra-charsets=all \
--with-plugins-ARIA-STORAGE-ENGINE=1 \
--with-plugins-BLACKHOLE-STORAGE-ENGINE=1 \
--with-plugins-FEDERATEDX-STORAGE-ENGINE=1 \
--with-plugins-INNOBASE-STORAGE-ENGINE=1 \
--with-plugins-PERFSCHEMA-STORAGE-ENGINE=1 \
--with-plugins-PARTITION-STORAGE-ENGINE=1 \
--with-plugins-XTRADB-STORAGE-ENGINE=1 \
--with-readline \
--with-ssl \
--with-zlib
--with-extra-charsets=complex
--enable-thread-safe-client
--with-big-tables
--with-aria-tmp-tables
--with-plugin-xtradb
--without-plugin-innodb_plugin
--with-plugins=max-no-ndb
--with-mysqld-ldflags=-static
--with-client-ldflags=-static
--with-readline
--with-ssl
--with-embedded-server
--with-libevent
--with-zlib-dir=bundled
--enable-local-infile