ius-coredev team mailing list archive
-
ius-coredev team
-
Mailing list archive
-
Message #01142
Re: [Question #177453]: Installing IUS package :Failed dependencies
Question #177453 on IUS Community Project changed:
https://answers.launchpad.net/ius/+question/177453
Status: Answered => Open
Soonho Kim is still having a problem:
Dear BJ;
Thanks for your quick answer!
I removed all MYSQL packages and install php and mysql from IUS repo.
I got another problem when I run the mysql
See the following message
==============
root@ip-173-201-34-240 [~]# rpm -qa | grep -i php
php52-cli-5.2.17-2.ius.el5
php52-common-5.2.17-2.ius.el5
php52-mysql-5.2.17-2.ius.el5
php52-5.2.17-2.ius.el5
php52-pdo-5.2.17-2.ius.el5
root@ip-173-201-34-240 [~]# rpm -qa | grep -i mysql
mysql51-libs-5.1.59-1.ius.el5
mysql51-server-5.1.59-1.ius.el5
mysqlclient15-5.0.92-1.ius.el5
php52-mysql-5.2.17-2.ius.el5
mysql51-5.1.59-1.ius.el5
perl-DBD-MySQL-3.0007-2.el5
root@ip-173-201-34-240 [~]# yum install php52 php52-mysql mysql51 mysql51-server
Loaded plugins: fastestmirror, replace
Loading mirror speeds from cached hostfile
* epel: epel.mirror.freedomvoice.com
* ius: pancks.sothatswhy.org.uk
addons | 951 B 00:00
base | 1.1 kB 00:00
epel | 3.7 kB 00:00
extras | 2.1 kB 00:00
ius | 2.2 kB 00:00
update | 1.9 kB 00:00
Excluding Packages in global exclude list
Finished
Setting up Install Process
Nothing to do
root@ip-173-201-34-240 [~]# /etc/init.d/mysqld start
root@ip-173-201-34-240 [~]# mysql -v
ERROR 2002 (HY000): Can't connect to local MySQL server through socket '/var/lib/mysql/mysql.sock' (2)
===============
I seems to run the mysql but when I check the version, then I got the error " ERROR 2002 (HY000): Can't connect to local MySQL server through socket '/var/lib/mysql/mysql.sock' (2)".
Do you have any idea about it?
Best Regards,
Soonho
-----Original Message-----
From: bounces@xxxxxxxxxxxxx [mailto:bounces@xxxxxxxxxxxxx] On Behalf Of BJ Dierkes
Sent: Monday, November 07, 2011 6:56 PM
To: Kim, Soonho (IFPRI)
Subject: Re: [Question #177453]: Installing IUS package :Failed dependencies
Your question #177453 on IUS Community Project changed:
https://answers.launchpad.net/ius/+question/177453
Status: Open => Answered
BJ Dierkes proposed the following answer:
On Nov 7, 2011, at 4:01 PM, Soonho Kim wrote:
> Here is the information:
>
> root@ip-173-201-34-240 [~]# rpm -qa | grep -i php
> root@ip-173-201-34-240 [~]# rpm -qa | grep -i mysql
> MySQL-client-5.1.56-0.glibc23
> MySQL-devel-5.1.56-0.glibc23
> MySQL-shared-5.1.56-0.glibc23
> MySQL-test-5.1.56-0.glibc23
>
Thats what I thought. You need to remove all of the MySQL sub packages
as well.
# rpm -e MySQL-client MySQL-devel MySQL-shared MySQL-test
Then you should be able to install my php52 and mysql51 from IUS:
# yum install php52 php52-mysql mysql51 mysql51-server
There are dozens of additional php52 packages so you may wish to install more than that listed above. But this should get you started.
---
derks
--
If this answers your question, please go to the following page to let us know that it is solved:
https://answers.launchpad.net/ius/+question/177453/+confirm?answer_id=13
If you still need help, you can reply to this email or go to the following page to enter your feedback:
https://answers.launchpad.net/ius/+question/177453
You received this question notification because you asked the question.
--
You received this question notification because you are a member of IUS
Core Development, which is an answer contact for IUS Community Project.