Broken mysql, cannot uninstall or ugrade openemr

Surprised at the lack of response here (with the exception of ‘CG’).

A friend who was passing through and in ancient history worked with databases purged my system of openemr by using this command: sudo find / -iname ‘openemr*’ -exec rm -rf {} ;

He then restored mysql to an apparently healthy condition.

He then reinstalled openemr, but it cannot be accessed through the browser at localhost/openemr.

He has no more time left to help as he has to leave, so I am again asking for help here. As it is now a ‘different’ (albeit derived) problem, I am posting it as a separate thread. The thread is here: Cannot access newly installed OpenEMR at localhost/openemr

Thank you.