aboutsummaryrefslogtreecommitdiff
path: root/system/mariadb/rc.mysqld
diff options
context:
space:
mode:
Diffstat (limited to 'system/mariadb/rc.mysqld')
-rw-r--r--system/mariadb/rc.mysqld5
1 files changed, 4 insertions, 1 deletions
diff --git a/system/mariadb/rc.mysqld b/system/mariadb/rc.mysqld
index 300e6eb2d37a3..a509d68aca1c3 100644
--- a/system/mariadb/rc.mysqld
+++ b/system/mariadb/rc.mysqld
@@ -31,6 +31,9 @@
# uncommented to improve system security.
SKIP="--skip-networking"
+# Uncomment the next line to use Oracle's InnoDB plugin instead of the included XtraDB
+#INNODB="--ignore-builtin-innodb --plugin-load=innodb=ha_innodb_plugin.so"
+
# Start mysqld:
mysqld_start() {
if [ -x /usr/bin/mysqld_safe ]; then
@@ -41,7 +44,7 @@ mysqld_start() {
rm -f /var/run/mysql/mysql.pid
fi
fi
- /usr/bin/mysqld_safe --datadir=/var/lib/mysql --pid-file=/var/run/mysql/mysql.pid $SKIP &
+ /usr/bin/mysqld_safe --datadir=/var/lib/mysql --pid-file=/var/run/mysql/mysql.pid $SKIP $INNODB &
fi
}