You can use the tool dpkg for managing packages in the Debian operating system.
dpkg --get-selections | grep
MySQL if it's listed as installed, you got it. Else you need to install it.
Come and join Linux training to gain great knowledge.
Do check out the video below