Problem in installing mysql

 
Thread Tools Search this Thread
Operating Systems Linux Red Hat Problem in installing mysql
# 1  
Old 11-28-2012
MySQL Problem in installing mysql

Hi i am trying to install mysql rpm package on my linux machine but getting below error :
Code:
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 :
Code:
[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

# 2  
Old 12-24-2012
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:

Code:
yum install mysql mysql-server mysql-devel

# 3  
Old 01-09-2013
Hi sizemj,
With yum i am getting below error :
Code:
[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?
# 4  
Old 01-09-2013
You need to install libaio, the rpm should be on your install CD/DVD.
# 5  
Old 01-09-2013
Thanks radoulov,

Could you please also guide on how to install libaio, i have used an dvd iso image to install redhat linux.
# 6  
Old 01-09-2013
RHN Network

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.
# 7  
Old 01-09-2013
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:

Code:
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:

Code:
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.

Last edited by radoulov; 01-09-2013 at 12:18 PM..
Login or Register to Ask a Question

Previous Thread | Next Thread

9 More Discussions You Might Find Interesting

1. Shell Programming and Scripting

Error installing MySQL 8 on RHEL 7

My yum install command is failing. I first did yum clean all I even tried with localinstall. Below is the error output: yum install mysql-community-server*.rpm Loaded plugins: langpacks, product-id, search-disabled-repos, subscription-manager This system is not registered with an... (8 Replies)
Discussion started by: mohtashims
8 Replies

2. Web Development

Installing mysql:sudo launchctl: command not found

I have run into an obstacle. See error message below ** I am Running: 'Mountain lion' , 'Mac OS X 10.8.3' I have downloaded: MySQL version. Mac OS X 10.7. (X86, 64-bit), DMG Archive. After several days of reading about: Installation of MySQL Enabling apache server And getting phpMyAdmin... (16 Replies)
Discussion started by: iHaveAQuestion
16 Replies

3. Shell Programming and Scripting

Error in installing mysql on unix server

Hi , I am trying to install mysql but getting below error $# mysql ERROR 2002 (HY000): Can't connect to local MySQL server through socket '/var/lib/mysql/mysql.sock' (2) can anyone provide me this file 'mysql.sock' Thanks (6 Replies)
Discussion started by: aish11
6 Replies

4. BSD

Installing MySQL package

Hey all I'm having a little trouble installing a MySQL database. This is what I tried... export PKG_PATH=ftp://mirror.planetunix.net/pub/OpenBSD/4.9/packages/`machine -a` pkg_add -v mysql-server mysql-client and this is what I get Unknown element: @rcscript /etc/rc.d/mysqld in... (1 Reply)
Discussion started by: desreguard
1 Replies

5. Windows & DOS: Issues & Discussions

Installing MySql DBD in dtrawberry perl

Hi Guys, I am trying to install DBI and DBD-MYSQL for strawberry perl. But i am not able to install. :wall: DBD-MYSQL >> makefile.pl gives error as 'Access denied for user 'ODBC'@'localhost' (using password: NO)'. (7 Replies)
Discussion started by: vasanth.vadalur
7 Replies

6. Solaris

Error in installing the mysql-python-1.2.3.tar.gz

Hi, I followed the step written in README. It got some error message when I type " #python setup.py build" running build running build_py copying MySQLdb/release.py -> build/lib.solaris-2.11-i86pc-2.4/MySQLdb running build_ext building '_mysql' extension /usr/lib/python2.4/pycc -DNDEBUG... (2 Replies)
Discussion started by: AlexCheung
2 Replies

7. UNIX for Advanced & Expert Users

Error during installing DBD-mysql-4.005

Hi, Iam not able to install DBD-mysql-4.005 into my Sun machine as the error comes - perl Makefile.PL --mysql_config=/usr/local/mysql/bin/mysql_config I will use the following settings for compiling and testing: cflags (mysql_config ) = -I/usr/local/mysql/include/mysql ... (2 Replies)
Discussion started by: aditya.ece1985
2 Replies

8. UNIX and Linux Applications

help: error in installing perl module DBD::mysql

Hi, I am trying to install perl module DBD::mysql and don't know how to resolve the following: # make test PERL_DL_NONLAZY=1 /usr/bin/perl "-MExtUtils::Command::MM" "-e" "test_harness(0, 'blib/lib', 'blib/arch')" t/*.t t/00base.............ok 3/5install_driver(mysql) failed: Can't load... (3 Replies)
Discussion started by: Yogesh Sawant
3 Replies

9. UNIX for Advanced & Expert Users

MySQL problem >> missing mysql.sock

MySQL on my server is down.... I figured out that the mysqld process isn't running. When I try to run it, it says it can't find mysql.sock Any suggestions? Here's what I can't do: can't be root don't have physical access (do stuff via SSH) reinstall MySQL (need to keep the current MySQL... (8 Replies)
Discussion started by: _hp_
8 Replies
Login or Register to Ask a Question