[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[cobalt-developers] MySQL PHP problem
- Subject: [cobalt-developers] MySQL PHP problem
- From: Colin McQueen <cmcqueen@xxxxxxxxxxxxxx>
- Date: Wed Oct 23 13:19:03 2002
- List-id: Discussion Forum for developers on Sun Cobalt Networks products <cobalt-developers.list.cobalt.com>
Hi
I have started to have a bit of success with MySQL and PHP but am
struggling because I cannot get any shell access from home through our
firewall.
Attempting to list the databases via PHP I get
Warning: Can't connect to local MySQL server through socket
'/tmp/mysql.sock' (111) in (directory path snipped) on line 9
Dunno if this helps but:-
If I run a <?php phpinfo(); ?> line then I get
a lovely set of details but the mysql set says the directive for default
port and socket have no value.
Any ideas? Is this because of the firewall or something I need to
change in the config?
TIA
--
Colin McQueen : Using an Acorn StrongARM Risc PC
Web Domain : http://www.mcqueen.uk.net/
BSc Zoology + Oceanography : PGCE : MSc in CBL/T