Check if mysql is installed on Ubuntu

#StandWithUkraine
Today, 25th June 2022, 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

Output:

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

Best related