I have the same problem. It appears whenever a software update to mysql is applied, the changes to /usr/share/mysql/mysql-systemd-start get overlaid. Rather than modifying that after every update, the workaround is to set up a symlink from where that script checks for the database directory to where the user has moved it to:
sudo ln -s "new_database_directory_location" /var/lib/mysql/mysql -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1605346 Title: package mysql-server-5.7 5.7.13-0ubuntu0.16.04.2 failed to install/upgrade: subprocess installed post-installation script returned error exit status 1 To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/mysql-5.7/+bug/1605346/+subscriptions -- ubuntu-bugs mailing list [email protected] https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
