No amount of reinstalling
databases/mysql57-server is going to "fix" the issues that are present in the datafiles.
Simple question, is there any data in
/var/db/mysql/? If there is data do you need to preserve it or can it be destroyed?
If you just want to start with a "fresh" clean database, then stop mysql (it probably wasn't running anyway);
service mysql-server stop
. Then remove
everything, note that this will REMOVE any existing databases, data and whatnot, so be sure this is what you want to do;
rm -rf /var/db/mysql/*
. Check the permissions of
/var/db/mysql directory, it should be owned by
mysql:mysql
. Start the service for the first time:
service mysql-server start
. Does that work?