I need to check if mysql is installed on a ubuntu server. Is there a way to determine if mySql has been installed ?
Here is some suggestions:
dpkg --get-selections | grep mysql
dpkg -s mysql-server | grep Status
mysql” in your terminal, see the result.
Search the “
/bin” directories for the binary.
apt-cache show mysql” to see if it is installed