LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Red Hat (https://www.linuxquestions.org/questions/red-hat-31/)
-   -   How to install MySQL on Rad Hat in VMware player? (https://www.linuxquestions.org/questions/red-hat-31/how-to-install-mysql-on-rad-hat-in-vmware-player-4175456179/)

nomee786 03-30-2013 03:00 PM

How to install MySQL on Rad Hat in VMware player?
 
Hi Folks,

I have linux red hat installed in vmware player, I am trying to install mysql on it but could not find correct commands...

please assist...

TB0ne 03-30-2013 03:22 PM

Quote:

Originally Posted by nomee786 (Post 4921765)
Hi Folks,
I have linux red hat installed in vmware player, I am trying to install mysql on it but could not find correct commands...
please assist...

You don't say what version of Red Hat, so it's hard to be specific. Also, Google has THOUSANDS of easily-found results for how to install MySQL on Red Hat...did you look there?

You should be able to type in "yum install mysql", or "yum search mysql" to find all MySQL related packages.

nomee786 03-30-2013 03:39 PM

How to install yum?
 
I have ver 5 of redhat when i ran yum install mysql i got an error,

bad command or not found yum...

TB0ne 03-30-2013 04:07 PM

Quote:

Originally Posted by nomee786 (Post 4921785)
I have ver 5 of redhat when i ran yum install mysql i got an error,
bad command or not found yum...

Do you mean Red Hat 5, or Red Hat ENTERPRISE 5? If enterprise, what version? 5.xxx?? And try to look for the yum command on your system, since it is there...type in "which yum" or "locate yum". You may have to specify the path to it, or run it as root/sudo.

nomee786 03-30-2013 06:23 PM

yum not found!!!
 
when i ran

which yum I have got
no yum in (/usr/local/sbin)
even i was on root
please advise...

nomee786 03-30-2013 06:25 PM

YUM
 
The problem is yum is not installed in my redhat linux ent ver 5, that is why i am having this issue...

John VV 03-30-2013 07:04 PM

can you post the output of this command
Code:

su -
cat /etc/redhat-release

this is the file that says what exactly you have installed

for "yum" not to be installed in RHEL5.9 ( the current, in the older 5 series) is very bad
and means something in the install went very wrong

nomee786 03-30-2013 08:22 PM

Release 8
 
When I ran

su -
cat /etc/redhat-release
I have rel 8

John VV 03-30-2013 09:45 PM

you did buy the required support contract for the old RHEL 5.8 ( 5.9 is the current in the OLD 5 series )
-- price for the required license for a single desktop install
https://www.redhat.com/apps/store/desktop/
$49 to $299 per year

without it you do not install anything
and the version of MySQL in 5.8 is going to be rather old "mysql-5.0.95"

with " mysql-5.1.67" in rhel 6.4
with MySQL 5.6 the current - from mysql


If you did not buy the license
buy it or if you do not intend to do so

install the FREE rebuild of RHEL
--- the older 5 series --
CentOS 5.9
--- the current version
CentOS 6.4
http://www.centos.org/


All times are GMT -5. The time now is 12:46 AM.