Link to home
Start Free TrialLog in
Avatar of kaku75
kaku75

asked on

MySQL Installation on linux

Hi,

I have a server running redhat linux and I also have root access to server thru SSH.

I want to install mySQL on it, for which I have downloaded the 2 files that is

MySQL-3.23.42-1.i386.rpm
and
MySQL-client-3.23.42-1.i386.rpm

from mysql.com and copied to the root folder on my server.

then I have executed the command

rpm -i MySQL-3.23.42-1.i386.rpm MySQL-client-3.23.42-1.i386.rpm

which generates following error:

error: failed dependencies:
        /usr/bin/perl is needed by MySQL-3.23.42-1
        /usr/bin/perl is needed by MySQL-client-3.23.42-1

Pls guide me here what is the problem and how can I solve it.

Best Regards,
Kaka

Avatar of venks
venks

You requre certain other libraries to run mysql properly.
You have not mentioned which version of RH you are running.
You have to install Perl libraries which you can find under development/libraries from the CD containing the RH OS.Once you install those libraries ,mysql will run properly
venks
As I recall, perl is needed for the benchmarking scripts included with MySQL. If you aren't going to do any benchmarking tests you can uses the '-nodeps' option to rpm, like this;

rpm -i -nodeps MySQL-3.23.42-1.i386.rpm MySQL-client-3.23.42-1.i386.rpm



Avatar of kaku75

ASKER

I do not want to leave any feature like benchmarking.

I am not sure about the redHat version too as it is a dedicated server and I have root access and knows linux very little :-(

But it is kernel version 2.4.9

How can I come to know which files are to be installed, where to be installed and from where to get it as I have to upload them to server and cannot directly use CD.

I am sorry if I am asking too much here but pls tell me step by step.

Thanks,
Kaka


The best bet is to use RPM as source files.They are availble at www.redhat.com, though it will be worth getting the red hat CdsIt will be better if you find out the version of RH since you have root privelege.As a precaution it is better to load all perl libraries
You can use the Gnome RPM package manager(if you have installed Gnome) to load the files
But frankly how you have load to your server is not clear since i dont know your server configuration
venks
Avatar of kaku75

ASKER

how, can I know which version I am using or I mean which command tells me the exact version I am using?

Kaka
ASKER CERTIFIED SOLUTION
Avatar of MFCRich
MFCRich

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of kaku75

ASKER

Thanks, ur answer really helped me in solving my problem and learning linux.

Now I have got one more problem, but I am posting new question for it

Kaka