I have PHP and Mysql was already running on Ubuntu VERSION 20.04
Today, I have tried to install the Maria db, but it wasn't working, So i have removed the mariadb using below command
apt-get purge mariadb-server mariadb-*
Now mysql is not working anymore, when i ran
sudo service mysql status
It gives me error,
Unit mysql.service could not be found.
I have tried following things but none of them work, it is giving same error.
sudo service mysql stop sudo systemctl stop mysqld sudo systemctl stop mysql