LinuxQuestions.org
View the Most Wanted LQ Wiki articles.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Red Hat
User Name
Password
Red Hat This forum is for the discussion of Red Hat Linux.

Notices

Reply
 
Search this Thread
Old 03-30-2013, 03:00 PM   #1
nomee786
LQ Newbie
 
Registered: Mar 2013
Posts: 11

Rep: Reputation: Disabled
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...
 
Old 03-30-2013, 03:22 PM   #2
TB0ne
Guru
 
Registered: Jul 2003
Location: Birmingham, Alabama
Distribution: SuSE, RedHat, Slack,CentOS
Posts: 14,592

Rep: Reputation: 2559Reputation: 2559Reputation: 2559Reputation: 2559Reputation: 2559Reputation: 2559Reputation: 2559Reputation: 2559Reputation: 2559Reputation: 2559Reputation: 2559
Quote:
Originally Posted by nomee786 View Post
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.
 
Old 03-30-2013, 03:39 PM   #3
nomee786
LQ Newbie
 
Registered: Mar 2013
Posts: 11

Original Poster
Rep: Reputation: Disabled
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...
 
Old 03-30-2013, 04:07 PM   #4
TB0ne
Guru
 
Registered: Jul 2003
Location: Birmingham, Alabama
Distribution: SuSE, RedHat, Slack,CentOS
Posts: 14,592

Rep: Reputation: 2559Reputation: 2559Reputation: 2559Reputation: 2559Reputation: 2559Reputation: 2559Reputation: 2559Reputation: 2559Reputation: 2559Reputation: 2559Reputation: 2559
Quote:
Originally Posted by nomee786 View Post
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.
 
Old 03-30-2013, 06:23 PM   #5
nomee786
LQ Newbie
 
Registered: Mar 2013
Posts: 11

Original Poster
Rep: Reputation: Disabled
yum not found!!!

when i ran

which yum I have got
no yum in (/usr/local/sbin)
even i was on root
please advise...
 
Old 03-30-2013, 06:25 PM   #6
nomee786
LQ Newbie
 
Registered: Mar 2013
Posts: 11

Original Poster
Rep: Reputation: Disabled
YUM

The problem is yum is not installed in my redhat linux ent ver 5, that is why i am having this issue...
 
Old 03-30-2013, 07:04 PM   #7
John VV
Guru
 
Registered: Aug 2005
Posts: 12,913

Rep: Reputation: 1715Reputation: 1715Reputation: 1715Reputation: 1715Reputation: 1715Reputation: 1715Reputation: 1715Reputation: 1715Reputation: 1715Reputation: 1715Reputation: 1715
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
 
Old 03-30-2013, 08:22 PM   #8
nomee786
LQ Newbie
 
Registered: Mar 2013
Posts: 11

Original Poster
Rep: Reputation: Disabled
Release 8

When I ran

su -
cat /etc/redhat-release
I have rel 8
 
Old 03-30-2013, 09:45 PM   #9
John VV
Guru
 
Registered: Aug 2005
Posts: 12,913

Rep: Reputation: 1715Reputation: 1715Reputation: 1715Reputation: 1715Reputation: 1715Reputation: 1715Reputation: 1715Reputation: 1715Reputation: 1715Reputation: 1715Reputation: 1715
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/
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
red hat through VMware player on windows vista sparshbhardwaj Linux - General 2 10-08-2009 12:44 PM
rad hat 9 adsl ppoe nfsutim Red Hat 5 02-11-2005 02:23 AM
radeon 9200se on rad hat 9? nfsutim Linux - Hardware 0 12-14-2004 05:54 AM
Wireless Card Issues with Rad Hat 9 Nik001 Red Hat 0 12-12-2004 11:50 AM
Evolution, Rad Hat 8.0 and Palm Pilot thanko Linux - Software 1 10-12-2002 02:14 PM


All times are GMT -5. The time now is 01:49 PM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration