I upgraded my ubuntu from ubuntu 18.04 to ubuntu 20.04. On running my MySQL via the terminal, I am not able to access my DBS on running the command
service MySQL start
I get the error message
Unit mysql.service is masked.
I upgraded my ubuntu from ubuntu 18.04 to ubuntu 20.04. On running my MySQL via the terminal, I am not able to access my DBS on running the command
service MySQL start
I get the error message
Unit mysql.service is masked.
If you are receiving the error message
MySQL services are masked
I simply solved mine by running the below code
systemctl unmask mysql.service
Then restart your MySQL
service mysql start
Simply unmask mysql:
sudo systemctl unmask mysql.service
masked
means that it has been disabled or made inaccessible. This prevents the unit from being started or enabled.