Comment 1 for bug 1631998

Revision history for this message
Tomislav Plavcic (tplavcic) wrote : Re: Minor version upgrades run mysql_install_db

There's a simple explanation why this could happen, the logic checks if it's an package upgrade and then doesn't run the mysql_install_db. But Percona server packages are called differently and have a suffix (-5.5/5.6/5.7) by major version since we only have one repository and so we can't put the same package name in that repo for every major version. So the apt/dpkg doesn't realize that it's an upgrade (package name is different) and thinks we are just making a normal installation.
I didn't test this but from what I see it should be like that.

Also I think you made a mistake in the bug report title - most probably it shouldn't be "Minor version upgrades..." but instead "Major version upgrades..." - so if you agree feel free to fix it.
Not sure how it's going to be fixed but the logic in that "if" check will need to be changed.