LinuxQuestions.org
Review your favorite Linux distribution.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices


Reply
  Search this Thread
Old 08-26-2003, 07:33 PM   #16
haobaba1
Member
 
Registered: Jul 2003
Location: VA Tech
Distribution: Mandrake 9.1
Posts: 73

Rep: Reputation: 15

I had a similar problem when I installed apache, php, mysql on mandrake 9.1. First off the the install notes instructed me to move the php.ini to an incorrect directory it should be in /etc or /etc/php and in the php.ini file the modules_ext(something similar to this) variable was =./ this would have been correct for the directory they tell you to move the php.ini file to not for the directory it should be in. You should move the php.ini file to either of the correct directories I mentioned and then change the variable to point to where ever it is that mysql.so and all your other modules are located.

Last edited by haobaba1; 08-26-2003 at 07:34 PM.
 
Old 01-14-2004, 04:11 PM   #17
treyc7777
LQ Newbie
 
Registered: Jan 2004
Location: Houston
Distribution: mandrake 9.1
Posts: 1

Rep: Reputation: 0
No /usr/lib/php/extensions directory on Mandrake 9.1!

I have been reading for several hours now and am convinced that this last post contains the solution to my problem. Unfortunately, there is no /usr/lib/php directory on the box after installing from the Mandrake 9.1 disks. I am a newbie and a bit lost here. All I can think to do is to reinstall php from the 9.1 disks. Does anybody have any ideas about why these directoriesand files would be missing?

TIA

Trey
 
Old 01-15-2004, 08:35 AM   #18
bentz
Member
 
Registered: Mar 2003
Distribution: Fedora, Mac OSX
Posts: 362

Rep: Reputation: 30
Try using 'rpm -ql php' to see where all the associated files for the php package are located on the system.
 
Old 04-27-2005, 09:18 AM   #19
isokar
LQ Newbie
 
Registered: Apr 2005
Posts: 1

Rep: Reputation: 0
hi everyone
i've nearly the same problem, i use mandrake 9.0 and i can't use mysql because he tell me:

mysqladmin: connect to server at 'localhost' failed
error: 'Can't connect to local MySQL server through socket '/var/lib/mysql/mysql.sock' (2)'
Check that mysqld is running and that the socket: '/var/lib/mysql/mysql.sock' exists!

so i checked and mysql.sock don't exists so how can i make it work because i can't ad the package php-mysql
-4.3.0-2.mdk because i need other package and i can't make an update i don't know why.
so if anyone have an idea give it to me pls.
thnks
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
ERROR 2002: Can't connect to local MySQL server through socket '/var/lib/mysql/mysql. NoviceW Linux - Networking 17 09-17-2014 02:13 PM
Can't connect to local MySQL server through socket '/var/lib/mysql/mysql.sock welery Linux - Software 19 03-06-2014 07:19 AM
ERROR 2002: Can't connect to local MySQL server through socket '/var/lib/mysql/mysql. suziecorbett Linux - Software 8 10-09-2008 01:52 AM
Problems with MySQL on SuSE: Can't Connect (/var/lib/mysql/mysql.sock) neocookie Linux - Software 8 02-07-2008 11:48 PM
mysql error Can't connect to local MySQL server through socket '/var/lib/mysql/mysql. Dannux Linux - Software 3 03-24-2006 08:44 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - General

All times are GMT -5. The time now is 06:06 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration