I am trying to install mysql in red hat linux. I have tried the command "rpm -qa" it shows a program name mysql-4.1.20-2.RHEL4.1 I am not sure whether mysql is already installed or not. If i try "which mysql" command it says no binary files. I just want to know what mysql-4.1.20-2.RHEL4.1 means in the list of programs. And how to install mysql from command line.
migrated from stackoverflow.com May 12 '11 at 7:21
This question came from our site for professional and enthusiast programmers.
Follow the steps:
mysql-4.1.20-2.RHEL4.1 in the output of rpm -qa means, that you have this package installed. You can read the description of the package by running
yum search mysql on my RHEL6 gives following short descriptions:
Therefore, it looks that you have just client installed. You can get a list of files in the package with
To install the server from command line run