Bug #81974 | lost+found directory causes mysql_upgrade to fail | ||
---|---|---|---|
Submitted: | 22 Jun 2016 13:50 | Modified: | 23 Jun 2016 13:20 |
Reporter: | Björn Voigt (OCA) | Email Updates: | |
Status: | Duplicate | Impact on me: | |
Category: | MySQL Server | Severity: | S3 (Non-critical) |
Version: | 5.6.30 | OS: | Linux |
Assigned to: | CPU Architecture: | Any | |
Tags: | datadir, MySQL |
[22 Jun 2016 13:50]
Björn Voigt
[23 Jun 2016 9:28]
MySQL Verification Team
Hello Björn Voigt, Thank you for the report and feedback. I'm not seeing the schema `#mysql50#lost+found`(I just tried in place binary upgrade of 5.5.50 to 5.6.31 and later mysql_upgrade which succedded) but observed same error while dropping the schema lost+found. Imho, similar issue was reported in Bug #22615 and the fix introduced for this was the option ignore-db-dir. Could you please see if this helps in your case? http://dev.mysql.com/doc/refman/5.6/en/server-options.html#option_mysqld_ignore-db-dir Thanks, Umesh
[23 Jun 2016 12:57]
Björn Voigt
Binary upgrades alone do not seem to trigger to bug, if the upgrade scripts do not call "mysql_upgrade". For testing it is not necessary to have a version change of the MySQL server. It's enough to call "mysql_upgrade". Sometimes if is necessary to call "mysql_upgrade --force": -f, --force Force execution of mysqlcheck even if mysql_upgrade has already been executed for the current version of MySQL.
[23 Jun 2016 13:01]
Björn Voigt
I would saw now, that this bug is a duplicate of #22615. I report this bug to openSUSE, so that MySQL start/stop scripts for versions >= 5.6.3 can be fixed there. Unfortunately also MySQL 5.5 versions can be found in SLES distributions, where --ignore-db-dir is unavailable.
[23 Jun 2016 13:20]
MySQL Verification Team
>>I report this bug to openSUSE, so that MySQL start/stop scripts for versions >= 5.6.3 can be fixed there. Sounds good to me, thank you for confirming. Marking this as duplicate of Bug #22615 Thanks, Umesh