Celebrate National IT Professionals Day with 3 months of free Premium Membership. Use Code ITDAY17

x
?
Solved

Installing Mysql Server rpm on Linux

Posted on 2004-04-29
6
Medium Priority
?
486 Views
Last Modified: 2007-02-13
Guys,
           I have tried to install mysql4.0.13 in linux and it is not working .
           Here, I downloaded MySQL-4.0.13-0.src.rpm to the specified directory and tried to install it.
           I used the command            rpm -ivh MySQL-4.0.13-0.src.rpm
           It didnt show me any errors but simply  it is not getting installed.
           I have also downloaded mysql-debug-4.0.13-ibm-linux-s390.tar.gz and im not sure which  one  is to be installed. I have the root permissions.
                   Can any one help me since this is very much critical for me........
                                         
                                                                                       Regds,
                                                                                              Ratheesh
         
0
Comment
Question by:ratheesh_qa
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 2
6 Comments
 
LVL 3

Expert Comment

by:dbacalja
ID: 10956547
MySQL-4.0.13-0.src.rpm you try to install is a source package. This means that this package contains only source files (not binaries). You need to compile these files to get the binaries you can run. Is this really what you are looking for? Maybe you are looking for binary distribution (compiled programs, you can run them immediately after the installation)? The other file is for linux on IBM mainframe server (S/390 or z/OS). You are not running this on the mainframe, right?

So, if you are looking for binary distribution, you need to download the RPM that doesn't have "src" in the name. I suggest you download new RPM from http://dev.mysql.com/downloads/mysql/4.0.html
Go to "Linux x86 RPM downloads" part of the download page and use the "Pick a mirror" link to get the list of the mirrors you can download MySQL server from. On the mirror page you don't have to fill in any of the the fields, just scroll down the page and select the closest mirror. After you download the package, run "rpm -ivh" against the downloaded file. This should do the work.

If you are really looking for source packages and you think something is wrong with the package or the installation, try running rpm -qlp MySQL-4.0.13-0.src.rpm. This will list all the files contained in the rpm package. You can use this list to verify if the files are really present on the filesystem and find out which files are missing.

In short, package you have is a source package and you probably need to get the binary package.Use MySQL web site do download the binary package.
0
 

Author Comment

by:ratheesh_qa
ID: 10956672
Im not sure which is to be installed..I know the version Mysql4.0.13 should be installed.
i have downloaded the foloowing files...

                   1. MySQL-4.0.13-0.src.rpm
                   2. mysql-debug-4.0.13-ibm-linux-s390.tar.gz
                   3.mysql-standard-4.0.13-pc-linux-i686.tar.gz
                   4.Mysql-Server-4.0.13-o.i386.rpm

my need is to install the Mysql server in Redhat Linux, I have already installed jdk...
Some one told me that rpm files are much easier than src files..Im not much experienced in this...
0
 
LVL 17

Accepted Solution

by:
owensleftfoot earned 252 total points
ID: 10957001
0
 
LVL 3

Assisted Solution

by:dbacalja
dbacalja earned 248 total points
ID: 10957822
0

Featured Post

7 Extremely Useful Linux Commands for Beginners

Just getting started with Linux? Here's a quick start guide that has 7 commands that we believe will come in handy.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Just about everyone has an old PC laying around.  Ask anyone in the IT industry, whether they are a professional or play in it as a hobby.  From outdated Desktops to cheap "throwaway" laptops, they are all around and not as hard to "fix up" as you m…
#Citrix #POC #XenDesktop #vCenter #VMware #ESX
Hi friends,  in this video  I'll show you how new windows 10 user can learn the using of windows 10. Thank you.
How to Install VMware Tools in Red Hat Enterprise Linux 6.4 (RHEL 6.4) Step-by-Step Tutorial

730 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question