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
commit447fa91d8367e5044741edd7002838968b4bec72 (patch)
tree87b800e501ad32db09d2e0f7bd7c312ca4faf69b /scripts/mysql_install_db.sh
parent39c20516b75735df9c559b99abf5efeb898936ba (diff)
downloadmariadb-git-447fa91d8367e5044741edd7002838968b4bec72.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
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"