[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [cobalt-developers] MySQL PHP problem
- Subject: Re: [cobalt-developers] MySQL PHP problem
- From: "David Smulsky" <dave@xxxxxxxxxxxxxxxx>
- Date: Wed Oct 23 14:04:50 2002
- List-id: Discussion Forum for developers on Sun Cobalt Networks products <cobalt-developers.list.cobalt.com>
I ask because _most_ php/mysql scripts dont like you to use "localhost"
unless you are infact on the localhost to the mysql server, rather use a
full hostname or IP to connect.
Dave Smulsky
Senior Network Admin
dave@xxxxxxxxxxxxxxxx
www.thehostworks.com
----- Original Message -----
From: "Colin McQueen" <cmcqueen@xxxxxxxxxxxxxx>
To: <cobalt-developers@xxxxxxxxxxxxxxx>
Sent: Wednesday, October 23, 2002 3:48 AM
Subject: [cobalt-developers] MySQL PHP problem
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
_______________________________________________
cobalt-developers mailing list
cobalt-developers@xxxxxxxxxxxxxxx
http://list.cobalt.com/mailman/listinfo/cobalt-developers