Bug #31315 mysql_install_db fails if a default table type of NDB is set in my.cnf
| Submitted: | 1 Oct 2007 13:41 | Modified: | 1 Oct 2008 17:10 |
|---|---|---|---|
| Reporter: | Jim Dowling | Email Updates: | |
| Status: | Closed | Impact on me: | |
| Category: | MySQL Server: Installing | Severity: | S3 (Non-critical) |
| Version: | 5.1.22 | OS: | Any |
| Assigned to: | Magnus Blåudd | CPU Architecture: | Any |
| Tags: | mysql_install_db default tabletype ndb | ||
[1 Oct 2007 13:41]
Jim Dowling
[1 Oct 2007 14:14]
MySQL Verification Team
Thank you for the bug report.
[12 Oct 2007 16:07]
Konstantin Osipov
Magnus, I believe this is in your hands. The fix is to run mysql_install_db with overriden default of the default_storage_engine.
Otherwise the following code in the server triggers a failure:
/*
Check that the default storage engine is actually available.
*/
if (default_storage_engine_str)
{
LEX_STRING name= { default_storage_engine_str,
strlen(default_storage_engine_str) };
plugin_ref plugin;
handlerton *hton;
if ((plugin= ha_resolve_by_name(0, &name)))
hton= plugin_data(plugin, handlerton*);
else
{
sql_print_error("Unknown/unsupported table type: %s",
default_storage_engine_str);
unireg_abort(1);
}
[26 Oct 2007 13:39]
Bugs System
A patch for this bug has been committed. After review, it may be pushed to the relevant source trees for release in the next version. You can access the patch from: http://lists.mysql.com/commits/36434 ChangeSet@1.2600, 2007-10-26 15:39:04+02:00, msvensson@pilot.mysql.com +1 -0 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
[19 Nov 2007 8:19]
Sveta Smirnova
Bug #32470 was marked as duplicate of this one.
[26 Nov 2007 17:47]
Magnus Blåudd
Pushed to mysql-5.1-build
[28 Feb 2008 9:37]
Magnus Blåudd
Pushed to 5.1.23 and 6.0.4
[3 Mar 2008 20:47]
Paul DuBois
Noted in 5.1.23, 6.0.4 changelogs. mysql_install_db failed if the default storage engine was NDB. Now it explicitly uses MyISAM as the storage engine when running mysqld --bootstrap.
[12 Mar 2008 21:40]
Sveta Smirnova
Bug still exists in version 5.1.23
[13 Mar 2008 10:38]
Magnus Blåudd
Apparently the bug never made it to 5.1.23-rc(just double checked) and it does not look like the patch is in 5.1 repository either. It has probably been removed in a merge.
[2 Sep 2008 9:21]
Magnus Blåudd
Recommited patch
[3 Sep 2008 7:00]
Bugs System
A patch for this bug has been committed. After review, it may be pushed to the relevant source trees for release in the next version. You can access the patch from: http://lists.mysql.com/commits/53106 2818 Magnus Svensson 2008-09-02 [merge] Merge bug#31315
[3 Sep 2008 7:30]
Bugs System
A patch for this bug has been committed. After review, it may be pushed to the relevant source trees for release in the next version. You can access the patch from: http://lists.mysql.com/commits/53114 2732 Magnus Svensson 2008-09-02 [merge] Merge bug#31315
[3 Sep 2008 7:35]
Bugs System
A patch for this bug has been committed. After review, it may be pushed to the relevant source trees for release in the next version. You can access the patch from: http://lists.mysql.com/commits/53115 2681 Magnus Svensson 2008-09-02 [merge] Merge bug#31315
[3 Sep 2008 8:00]
Bugs System
A patch for this bug has been committed. After review, it may be pushed to the relevant source trees for release in the next version. You can access the patch from: http://lists.mysql.com/commits/53122 2672 Magnus Svensson 2008-09-02 [merge] Merge bug#31315
[3 Sep 2008 8:13]
Bugs System
A patch for this bug has been committed. After review, it may be pushed to the relevant source trees for release in the next version. You can access the patch from: http://lists.mysql.com/commits/53131 2744 Magnus Svensson 2008-09-02 [merge] Merge bug#31315
[3 Sep 2008 8:13]
Bugs System
A patch for this bug has been committed. After review, it may be pushed to the relevant source trees for release in the next version. You can access the patch from: http://lists.mysql.com/commits/53132 2818 Magnus Svensson 2008-09-02 [merge] Merge bug#31315
[3 Sep 2008 8:13]
Bugs System
A patch for this bug has been committed. After review, it may be pushed to the relevant source trees for release in the next version. You can access the patch from: http://lists.mysql.com/commits/53133 2732 Magnus Svensson 2008-09-02 [merge] Merge bug#31315
[3 Sep 2008 8:13]
Bugs System
A patch for this bug has been committed. After review, it may be pushed to the relevant source trees for release in the next version. You can access the patch from: http://lists.mysql.com/commits/53134 2744 Magnus Svensson 2008-09-02 [merge] Merge bug#31315
[14 Sep 2008 2:59]
Bugs System
Pushed into 6.0.7-alpha (revid:msvensson@mysql.com-20080902085330-nwc5yva7ir20dpij) (version source revid:sven@mysql.com-20080818175803-c1nutd5773r6b4gd) (pib:3)
[18 Sep 2008 5:53]
Paul DuBois
Noted in 6.0.7 changelog. mysql_install_db failed if run with the default table type set to NDB. Setting report to NDI pending push into 5.1.x.
[26 Sep 2008 12:30]
Bugs System
A patch for this bug has been committed. After review, it may be pushed to the relevant source trees for release in the next version. You can access the patch from: http://lists.mysql.com/commits/54543 2698 He Zhenxing 2008-09-26 [merge] Merge 5.1 main -> 5.1-rpl
[1 Oct 2008 16:03]
Bugs System
Pushed into 5.1.28 (revid:msvensson@mysql.com-20080902091413-5aix9rsscpw1fcjg) (version source revid:msvensson@mysql.com-20080902091413-5aix9rsscpw1fcjg) (pib:4)
[1 Oct 2008 17:10]
Paul DuBois
Noted in 5.1.28 changelog.
[17 Oct 2008 16:43]
Bugs System
Pushed into 6.0.8-alpha (revid:msvensson@mysql.com-20080902091413-5aix9rsscpw1fcjg) (version source revid:kpettersson@mysql.com-20080911114255-81pt7q1uvl1fkojq) (pib:5)
[28 Oct 2008 21:04]
Bugs System
Pushed into 5.1.29-ndb-6.2.17 (revid:msvensson@mysql.com-20080902091413-5aix9rsscpw1fcjg) (version source revid:tomas.ulin@sun.com-20081028140209-u4emkk1xphi5tkfb) (pib:5)
[28 Oct 2008 22:22]
Bugs System
Pushed into 5.1.29-ndb-6.3.19 (revid:msvensson@mysql.com-20080902091413-5aix9rsscpw1fcjg) (version source revid:tomas.ulin@sun.com-20081028194045-0353yg8cvd2c7dd1) (pib:5)
[1 Nov 2008 9:48]
Bugs System
Pushed into 5.1.29-ndb-6.4.0 (revid:msvensson@mysql.com-20080902091413-5aix9rsscpw1fcjg) (version source revid:jonas@mysql.com-20081101082305-qx5a1bj0z7i8ueys) (pib:5)
[12 Dec 2008 23:26]
Bugs System
Pushed into 6.0.7-alpha (revid:msvensson@mysql.com-20080902091600-q23j00agdmy0kss0) (version source revid:tomas.ulin@sun.com-20080902154454-pvi3xa61d2wtxtbg) (pib:5)
Portions of this website are copyright © 2001, 2002 The PHP Group
Page generated in 0.102 sec. using MySQL 8.4.7-u6-cloud
Timestamp references displayed by the system are UTC.
Content reproduced on this site is the property of the
respective copyright holders.
It is not reviewed in advance
by Oracle and does not necessarily represent the opinion of
Oracle or any other party.