Problem in installing mysql

Hi i am trying to install mysql rpm package on my linux machine but getting below error :

warning: MySQL-embedded-5.5.28-1.rhel5.i386.rpm: V3 DSA signature: NOKEY, key ID 5072e1f5
error: Failed dependencies:
        MySQL-devel is needed by MySQL-embedded-5.5.28-1.rhel5.i386
        libaio.so.1 is needed by MySQL-embedded-5.5.28-1.rhel5.i386
        libaio.so.1(LIBAIO_0.1) is needed by MySQL-embedded-5.5.28-1.rhel5.i386
        libaio.so.1(LIBAIO_0.4) is needed by MySQL-embedded-5.5.28-1.rhel5.i386
        libc.so.6(GLIBC_2.4) is needed by MySQL-embedded-5.5.28-1.rhel5.i386
        rtld(GNU_HASH) is needed by MySQL-embedded-5.5.28-1.rhel5.i386
    Suggested resolutions:
        /var/spool/up2datelibaio-0.3.105-2.i386.rpm

I am new to using rpm packages and have very little idea about it, will appreciate your help

Below is description of my OS :

[root@localhost myproject]# uname -a

Linux localhost.localdomain 2.6.9-89.ELsmp #1 SMP Mon Apr 20 10:34:33 EDT 2009 i686 i686 i386 GNU/Linux

It looks like you are trying to install an rpm, that needs dependencies that are not met. Try using yum. Yum will install those dependencies for you. something like:

yum install mysql mysql-server mysql-devel

Hi sizemj,
With yum i am getting below error :

[root@localhost etc]# yum install mysql mysql-server mysql-devel
Loaded plugins: refresh-packagekit, rhnplugin
This system is not registered with RHN.
RHN support will be disabled.
Setting up Install Process
No package mysql available.
No package mysql-server available.
No package mysql-devel available.
Error: Nothing to do

what can i do to overcome this?

You need to install libaio, the rpm should be on your install CD/DVD.

Thanks radoulov,

Could you please also guide on how to install libaio, i have used an dvd iso image to install redhat linux.

Do you have Red Hat support? If you do, and you have your account username and password use the command: rhn_register

Just google "This system is not registered with RHN"

I would post links but I can't.

Mount the DVD, go to the directory where the rpm packages are placed
(I don't remember the exact name, it could be version specific, something like Server ...
or Enterprise Server ... There you'll find two rpm packages:

libaio-0.3.107-10.el6.i686.rpm
libaio-0.3.107-10.el6.x86_64.rpm

Note that your version may be different.
If your OS is 64bit, install the x86_64 version, otherwise
install the other one:

rpm -Uvh libaio-0.3.107-10.el6.x86_64.rpm

Edit: I just saw that you're running a 32bit distro, so you'll need to install the ...i686 version.

And, of course, if you have a license for RHEL, as already mentioned, just configure your yum repository.

Hi sizemj,
note that the OP is trying to install a specific (and quite recent) version of MySQL.
On the contrary, the version shipped with the OS is usually quite old,
so yum install mysql-server will probably install an older version.

Yes your are correct. Missed that. I just saw that he was trying to install Mysql. Yum would install Mysql 5.1.61 if he is running Red Hat 6.3. He is trying to install 5.5. my mistake.

Thanks radoulov,
It was quite helpful, mysql is now up and running.

Thanks a lot!!!