From 9a3e1b6c0ea1ae2d35dc65a5dc0b9c0113540e55 Mon Sep 17 00:00:00 2001 From: Gerhard Schlager Date: Thu, 30 Jun 2016 22:24:49 +0200 Subject: [PATCH] Fix engine substitution in phpBB3 importer template --- templates/import/phpbb3.template.yml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/templates/import/phpbb3.template.yml b/templates/import/phpbb3.template.yml index fafde35..29b81bd 100644 --- a/templates/import/phpbb3.template.yml +++ b/templates/import/phpbb3.template.yml @@ -33,6 +33,7 @@ hooks: default-storage-engine=MyISAM default-tmp-storage-engine=MyISAM innodb=OFF + sql_mode=NO_AUTO_CREATE_USER datadir=/shared/import/mysql/data @@ -81,7 +82,7 @@ hooks: echo "Loading database dump into MySQL..." mysql -uroot -e "DROP DATABASE IF EXISTS phpbb" mysql -uroot -e "CREATE DATABASE phpbb" - mysql -uroot --default-character-set=utf8 --database=phpbb < /shared/import/data/phpbb_mysql.sql + mysql -uroot --default-character-set=utf8 --database=phpbb < /shared/import/data/phpbb_mysql.sql && \ touch /shared/import/mysql/imported fi else -- 2.25.1