• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 512
  • Last Modified:

Installing Mysql Server rpm on Linux

           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........
  • 2
2 Solutions
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.
ratheesh_qaAuthor Commented:
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

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...
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

Join & Write a Comment

Featured Post

Train for your Pen Testing Engineer Certification

Enroll today in this bundle of courses to gain experience in the logistics of pen testing, Linux fundamentals, vulnerability assessments, detecting live systems, and more! This series, valued at $3,000, is free for Premium members, Team Accounts, and Qualified Experts.

  • 2
Tackle projects and never again get stuck behind a technical roadblock.
Join Now