summaryrefslogtreecommitdiff
path: root/scripts/mysql_install_db.sh
diff options
context:
space:
mode:
authorMagnus Svensson <msvensson@mysql.com>2008-09-02 10:53:30 +0200
committerMagnus Svensson <msvensson@mysql.com>2008-09-02 10:53:30 +0200
commit770cafbcfe963f773287ba636954451add2a87bb (patch)
tree87b800e501ad32db09d2e0f7bd7c312ca4faf69b /scripts/mysql_install_db.sh
parent9dfc925db0db97f20a561d976bd9c2c40917600a (diff)
downloadmariadb-git-770cafbcfe963f773287ba636954451add2a87bb.tar.gz
Bug#31315 mysql_install_db fails if a default table type of NDB is set in my.cnf
- Use myisam as default storage engine when running mysqld in --bootstrap mode scripts/mysql_install_db.sh: Use myisam as default storage engine when running mysqld in --bootstrap mode
Diffstat (limited to 'scripts/mysql_install_db.sh')
-rw-r--r--scripts/mysql_install_db.sh1
1 files changed, 1 insertions, 0 deletions
diff --git a/scripts/mysql_install_db.sh b/scripts/mysql_install_db.sh
index 4e5ca7305f8..5a2409eeb6f 100644
--- a/scripts/mysql_install_db.sh
+++ b/scripts/mysql_install_db.sh
@@ -339,6 +339,7 @@ mysqld_bootstrap="${MYSQLD_BOOTSTRAP-$mysqld}"
mysqld_install_cmd_line="$mysqld_bootstrap $defaults $mysqld_opt --bootstrap \
--basedir=$basedir --datadir=$ldata --log-warnings=0 --loose-skip-innodb \
--loose-skip-ndbcluster $args --max_allowed_packet=8M \
+ --default-storage-engine=myisam \
--net_buffer_length=16K"
# Create the system and help tables by passing them to "mysqld --bootstrap"