LinuxQuestions.org
Latest LQ Deal: Complete CCNA, CCNP & Red Hat Certification Training Bundle
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 05-26-2009, 07:08 AM   #1
Mihir V Patankar
LQ Newbie
 
Registered: May 2009
Posts: 8

Rep: Reputation: 0
Question Installing and Running mysql server on Red Hat Linux 4


Hi,

Can someone tell me how to install and run 32 bit mysql server on Red Hat Linux 4?

Thanks!

Mihir
 
Old 05-26-2009, 07:24 AM   #2
Retrievil_Knievil
Member
 
Registered: Mar 2004
Location: Stavanger, Norway
Distribution: Gentoo, Slackware/SLAX, Knoppix, CentOS, IPCop & DSL
Posts: 138

Rep: Reputation: 21
Maybe this will help: http://www.cyberciti.biz/faq/how-to-...ql-under-rhel/
 
Old 05-26-2009, 06:16 PM   #3
soleilarw
Member
 
Registered: Apr 2009
Posts: 107

Rep: Reputation: 19
http://www.howtoforge.org has a lot tutorials related to MySQL!

Linux Archive

Last edited by soleilarw; 06-18-2009 at 05:17 AM.
 
Old 06-03-2009, 08:57 AM   #4
Mihir V Patankar
LQ Newbie
 
Registered: May 2009
Posts: 8

Original Poster
Rep: Reputation: 0
Unhappy

Hi

Thanks for your help

I downloaded and installed mysql on linux enterprise version 4 using the command

rpm -ivh "mysql_file_name.rpm"


Mysql got installed without any errors


But when i run the command

mysqladmin -u root password mysqldata

i got the error mysqladmin not found

What could be the reason for this error inspite of the fact that mysql got installed properly without any errors
 
Old 06-03-2009, 09:42 PM   #5
chrism01
LQ Guru
 
Registered: Aug 2004
Location: Sydney
Distribution: Centos 6.8, Centos 5.10
Posts: 17,240

Rep: Reputation: 2324Reputation: 2324Reputation: 2324Reputation: 2324Reputation: 2324Reputation: 2324Reputation: 2324Reputation: 2324Reputation: 2324Reputation: 2324Reputation: 2324
You should have used 'up2date' (the RHEL 4 equiv to yum, although I think you can get yum for RHEL4).
That would take care of any dependencies.
Difficult to know what you installed, as you don't give the exact filename, but maybe just the DB code, but not various tools to make it 'usable'.
 
Old 06-04-2009, 12:39 AM   #6
Mihir V Patankar
LQ Newbie
 
Registered: May 2009
Posts: 8

Original Poster
Rep: Reputation: 0
Question mysql installation

Quote:
Originally Posted by chrism01 View Post
You should have used 'up2date' (the RHEL 4 equiv to yum, although I think you can get yum for RHEL4).
That would take care of any dependencies.
Difficult to know what you installed, as you don't give the exact filename, but maybe just the DB code, but not various tools to make it 'usable'.

Hi,

I have installed "MySQL-Server-Community 5.1.30-0.rhel4.i386.rpm" in the / directory

How do i uninstall this now so that i can try reinstalling it using the commands suggested by you?

Thanks!

Mihir V Patankar
 
Old 06-05-2009, 02:38 AM   #7
chrism01
LQ Guru
 
Registered: Aug 2004
Location: Sydney
Distribution: Centos 6.8, Centos 5.10
Posts: 17,240

Rep: Reputation: 2324Reputation: 2324Reputation: 2324Reputation: 2324Reputation: 2324Reputation: 2324Reputation: 2324Reputation: 2324Reputation: 2324Reputation: 2324Reputation: 2324
See this page, centre column is up2dfate cmds: http://sakafi.wordpress.com/2008/01/...e-yum-up2date/

You prob want one or more of

up2date –show-available |grep -i mysql
up2date –show-groups |grep -i mysql

up2date –arch=i386 mysql

you need to install mysqladmin separately from the DB server, iirc
 
  


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
How to free up space on a Linux Red Hat Server running Kerio Mail Server ohioguy47 Linux - Newbie 6 08-04-2008 09:49 PM
Having problems installing MySQL on red hat 9. Cannot find mysql.sock oferu Linux - Newbie 3 05-27-2008 08:13 PM
Installing DB2 on Red Hat Linux server rev1976 Linux - Newbie 0 11-25-2007 09:07 PM
MYSQL and PHP Problem and Installing programs on Linux Red Hat Technel Linux - Newbie 4 03-08-2006 11:54 PM
Installing a Server With Linux Red Hat 8.0 Zakane Linux - Newbie 4 01-22-2003 06:57 PM


All times are GMT -5. The time now is 10:38 PM.

Main Menu
Advertisement
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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration