Yeah, and in postinst, the 'configure' part is getting executed during a package upgrade as well.
And it mentions in the comments "# Debian: can safely run on upgrades with existing databases"
I don't think it's safe to run mysql_install_db on upgrades. This should be changed from the postinst and only be executed during a regular install.
Yeah, and in postinst, the 'configure' part is getting executed during a package upgrade as well.
And it mentions in the comments
"# Debian: can safely run on upgrades with existing databases"
I don't think it's safe to run mysql_install_db on upgrades. This should be changed from the postinst and only be executed during a regular install.