Bug #45415 rpm upgrade recreates test database
| Submitted: | 9 Jun 2009 20:17 | Modified: | 22 Jul 2011 18:44 |
|---|---|---|---|
| Reporter: | Harrison Fisk | Email Updates: | |
| Status: | Closed | Impact on me: | |
| Category: | MySQL Server: Packaging | Severity: | S3 (Non-critical) |
| Version: | 5.1.34, 5.0+ | OS: | Linux (Red Hat/SUSE) |
| Assigned to: | Joerg Bruehe | CPU Architecture: | Any |
[9 Jun 2009 20:17]
Harrison Fisk
[7 Jul 2011 15:56]
Joerg Bruehe
The fix is as proposed in the original report: Both the "mkdir" for the "test" directory and the call to "mysql_install_db" will be done only in the case of an upgrade, not of a new installation. The patch is committed, got approved by Jonathan Perkin via IRC. The patch is pushed to the sources, for 5.1, 5.5, and 5.6. (5.0 is unchanged.)
[22 Jul 2011 18:44]
Paul DuBois
Noted in 5.1.59, 5.5.16, 5.6.3 changelogs. Upgrades using an RPM package recreated the test database, which is undesirable when the DBA had removed it.
Portions of this website are copyright © 2001, 2002 The PHP Group
Page generated in 0.039 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.