Check if mysql is installed on Ubuntu

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