Failed to restart mysql.service: Unit not found code example
Example: failed to restart mysql.service: unit mysql.service not found.
# Try Uninstalling and Installing again
# Uninstall:
sudo apt-get purge mysql-server
sudo apt-get autoremove
sudo apt-get autoclean
# Install:
sudo apt-get update
sudo apt-get install mysql-server