Linux – How to installl MySQL in Red Hat linux

linuxMySQLredhat

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.

Best Answer

Follow the steps:

  1. Download the latest stable relase of MySQL
  2. Remove the existing default MySQL that came with the Linux distro
  3. Install the downloaded MySQL package
  4. Perform post-install security activities on MySQL.

Reference: http://www.thegeekstuff.com/2008/07/howto-install-mysql-on-linux/

Related Topic