failed to start mysql.service unit mysql.service not found. ubuntu 18.04 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