|
@@ -0,0 +1,38 @@
|
|
|
|
+diff --git a/package/oracle-mysql/S97mysqld b/package/oracle-mysql/S97mysqld
|
|
|
|
+index 110ca2c..4969dc1 100644
|
|
|
|
+--- a/package/oracle-mysql/S97mysqld
|
|
|
|
++++ b/package/oracle-mysql/S97mysqld
|
|
|
|
+@@ -8,6 +8,18 @@ MYSQL_USER="mysql"
|
|
|
|
+ case "$1" in
|
|
|
|
+ start)
|
|
|
|
+ if [ ! -d $MYSQL_DIR/mysql ] ; then
|
|
|
|
++#--- my.cnf for GfA ---
|
|
|
|
++(\
|
|
|
|
++cat << EOF
|
|
|
|
++[mysqld]
|
|
|
|
++ignore-builtin-innodb
|
|
|
|
++plugin-load=innodb=ha_innodb_plugin.so
|
|
|
|
++innodb_file_per_table=1
|
|
|
|
++innodb_file_format=barracuda
|
|
|
|
++innodb_strict_mode=1
|
|
|
|
++EOF
|
|
|
|
++) > /etc/my.cnf
|
|
|
|
++#----------------------
|
|
|
|
+ echo "Creating MySQL system tables..."
|
|
|
|
+ mysql_install_db --user=$MYSQL_USER --ldata=$MYSQL_DIR
|
|
|
|
+ fi
|
|
|
|
+diff --git a/package/oracle-mysql/oracle-mysql.mk b/package/oracle-mysql/oracle-mysql.mk
|
|
|
|
+index ccfa40c..e8b2a54 100644
|
|
|
|
+--- a/package/oracle-mysql/oracle-mysql.mk
|
|
|
|
++++ b/package/oracle-mysql/oracle-mysql.mk
|
|
|
|
+@@ -89,8 +89,8 @@ ORACLE_MYSQL_CONF_OPTS += \
|
|
|
|
+ --without-plugin-example \
|
|
|
|
+ --without-plugin-federated \
|
|
|
|
+ --without-plugin-ibmdb2i \
|
|
|
|
+- --without-plugin-innobase \
|
|
|
|
+- --without-plugin-innodb_plugin \
|
|
|
|
++ --with-plugin-innobase \
|
|
|
|
++ --with-plugin-innodb_plugin \
|
|
|
|
+ --without-plugin-ndbcluster
|
|
|
|
+
|
|
|
|
+ # Debugging is only available for the server, so no need for
|