Intellipaat Back

Explore Courses Blog Tutorials Interview Questions
0 votes
2 views
in Linux by (18.4k points)
I need to check if my MySQL is installed on my ubuntu server. Is there any way to determine if my MySQL has been installed? Thanks.

1 Answer

0 votes
by (36.8k points)

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

Example

dpkg --get-selections | grep 

MySQL if it's listed as installed, you got it. Else you need to install it.

Come and join Linux training to gain great knowledge. 

Do check out the video below

Related questions

0 votes
1 answer
0 votes
2 answers
0 votes
1 answer
0 votes
1 answer

31k questions

32.8k answers

501 comments

693 users

Browse Categories

...