The MySQL service is installed but stopped. Which sequence brings it online and confirms its state?
Run SHOW DATABASES; from the regular terminal as a shell command.
SHOW DATABASES;
Run sudo mysql -u root without checking the system service.
sudo mysql -u root
Run sudo service mysql start, then sudo service mysql status.
sudo service mysql start
sudo service mysql status
Run sudo apt install mysql-server -y repeatedly until a prompt appears.
sudo apt install mysql-server -y