Click to See Complete Forum and Search --> : mysql socket missing and php cli prob


phobik
12-06-2004, 03:23 PM
hi

1) when i try to start mysql i get an missing socket error, in something like /var/mysql/mysql.socket.

2) when i type php from commandline the cursor moves down a line but i have no prompt. apparently i should have something print to console telling me what version i have installed.

could somebody please help me get this sorted cos its driving me nuts
ive even tried reinstalling on another partition in case i missed somethingwhen installing but i get the same thing.
ive also tried installing pakages from linuxpackages but i get more dependancy probs.
i did notice that there isnt a mod_php option when installing, but i have seen this before with other distros, dunno

cheers

Choozo
12-06-2004, 03:40 PM
1) A common problem that has been answered quite a few times. Can't remember the solution, but do a search here or on www.google.com/linux for: "/var/lib/mysql/mysql.socket"

2) Have you tried to pass a php script file to the command? E.g. php myscript.php

3) Please do not post multiple unrelated questions in same thread.

Cheers :)