Check if mysql is installed on Ubuntu

Today, 27th January 2023, Ukraine is still bravely fighting for democratic values, human rights and peace in whole world. Russians ruthlessly kill all civilians in Ukraine including childs and destroy their cities. We are uniting against Putinโ€™s invasion and violence, in support of the people in Ukraine. You can help by donating to Ukrainian's army.

There are many ways to check if mysql is installed but the next command gives us the most understandable information:

dpkg --get-selections | grep mysql


libmysqlclient21:amd64              install
mysql-apt-config                install
mysql-common                    install
mysql-server-8.0                deinstall
mysql-workbench-community           install
Roman Ivashchenko profile picture
Dec 02, 2020
by Roman Ivashchenko
Did it help you?
Yes !

Best related