LinuxQuestions.org
Review your favorite Linux distribution.
Go Back   LinuxQuestions.org > Forums > Linux > Linux - General
User Name
Password
Linux - General This 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
 
Thread Tools
Old 08-26-2003, 08:33 PM   #16
haobaba1
Member
 
Registered: Jul 2003
Location: VA Tech
Distribution: Mandrake 9.1
Posts: 73
Thanked: 0

[Log in to get rid of this advertisement]
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 08:34 PM..
haobaba1 is offline     Reply With Quote
Old 01-14-2004, 05:11 PM   #17
treyc7777
LQ Newbie
 
Registered: Jan 2004
Location: Houston
Distribution: mandrake 9.1
Posts: 1
Thanked: 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
treyc7777 is offline     Reply With Quote
Old 01-15-2004, 09:35 AM   #18
bentz
Member
 
Registered: Mar 2003
Distribution: Fedora, Mac OSX
Posts: 362
Thanked: 0
Try using 'rpm -ql php' to see where all the associated files for the php package are located on the system.
bentz is offline     Reply With Quote
Old 04-27-2005, 10:18 AM   #19
isokar
LQ Newbie
 
Registered: Apr 2005
Posts: 1
Thanked: 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
isokar is offline     Reply With Quote

Reply

Bookmarks


Thread Tools

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 Off
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 13 01-19-2009 10:01 AM
ERROR 2002: Can't connect to local MySQL server through socket '/var/lib/mysql/mysql. suziecorbett Linux - Software 8 10-09-2008 02:52 AM
Can't connect to local MySQL server through socket '/var/lib/mysql/mysql.sock welery Linux - Software 8 07-11-2008 03:06 PM
Problems with MySQL on SuSE: Can't Connect (/var/lib/mysql/mysql.sock) neocookie Linux - Software 8 02-08-2008 12:48 AM
mysql error Can't connect to local MySQL server through socket '/var/lib/mysql/mysql. Dannux Linux - Software 3 03-24-2006 09:44 AM


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

Main Menu
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
RSS2  LQ Podcast
RSS2  LQ Radio
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: @linuxquestions
Open Source Consulting | Domain Registration