Sunday, July 24, 2022

[SOLVED] How can I check if mysql is installed on ubuntu?

Issue

I need to check if mysql is installed on a ubuntu server. Is there a way to determine if mySql has been installed ? Thanks.


Solution

You can use tool dpkg for managing packages in Debian operating system.

Example

dpkg --get-selections | grep mysql if it's listed as installed, you got it. Else you need to get it.



Answered By - hd1
Answer Checked By - Clifford M. (WPSolving Volunteer)