Solved

Installing Mysql Server rpm on Linux

Posted on 2004-04-29
6
464 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
  • 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 63 total points
ID: 10957001
0
 
LVL 3

Assisted Solution

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

Featured Post

VMware Disaster Recovery and Data Protection

In this expert guide, you’ll learn about the components of a Modern Data Center. You will use cases for the value-added capabilities of Veeam®, including combining backup and replication for VMware disaster recovery and using replication for data center migration.

Question has a verified solution.

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

Suggested Solutions

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…
Many people tend to confuse the function of a virus with the one of adware, this misunderstanding of the basic of what each software is and how it operates causes users and organizations to take the wrong security measures that would protect them ag…
This is used to tweak the memory usage for your computer, it is used for servers more so than workstations but just be careful editing registry settings as it may cause irreversible results. I hold no responsibility for anything you do to the regist…
Hi friends,  in this video  I'll show you how new windows 10 user can learn the using of windows 10. Thank you.

828 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