diff options
Diffstat (limited to '')
-rw-r--r-- | source/ap/mariadb/rc.mysqld (renamed from source/ap/mysql/rc.mysqld) | 11 |
1 files changed, 7 insertions, 4 deletions
diff --git a/source/ap/mysql/rc.mysqld b/source/ap/mariadb/rc.mysqld index 300e6eb2d..7c42d03cc 100644 --- a/source/ap/mysql/rc.mysqld +++ b/source/ap/mariadb/rc.mysqld @@ -3,16 +3,16 @@ # # Copyright 2003 Patrick J. Volkerding, Concord, CA # Copyright 2003 Slackware Linux, Inc., Concord, CA -# Copyright 2008 Patrick J. Volkerding, Sebeka, MN +# Copyright 2008, 2013 Patrick J. Volkerding, Sebeka, MN, USA # # This program comes with NO WARRANTY, to the extent permitted by law. # You may redistribute copies of this program under the terms of the # GNU General Public License. -# To start MySQL automatically at boot, be sure this script is executable: +# To start MariaDB automatically at boot, be sure this script is executable: # chmod 755 /etc/rc.d/rc.mysqld -# Before you can run MySQL, you must have a database. To install an initial +# Before you can run MariaDB, you must have a database. To install an initial # database, do this as root: # # mysql_install_db --user=mysql @@ -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.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 } |