SQL Injection Fundamentals - mysql is not a valid command

Yeah sorry about that.

The question is

Connect to the database using the MySQL client from the command line. Use the ‘show databases;’ command to list databases in the DBMS. What is the name of the first database?

The command should be mysql -u root -h target.IP.address -P 31475 -p but when I try to use that command it tells me gives me the error:

bash: mysql: command not found

I’ve tried installing it with sudo apt install mariadb-server but it can’t find the package. I also ran sudo apt upgrade prior to trying to install it

And…it just finally installed. What I did to fix it was made sure that all packages were updated. Apparently it had missed 2 in the update process. I then ran sudo apt install mariadb-server-10.3 and it went through.

Total user error on this one.