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

[EMAIL PROTECTED]
www.thehostworks.com
----- Original Message -----
From: "Colin McQueen" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
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
[EMAIL PROTECTED]
http://list.cobalt.com/mailman/listinfo/cobalt-developers



_______________________________________________
cobalt-developers mailing list
[EMAIL PROTECTED]
http://list.cobalt.com/mailman/listinfo/cobalt-developers

Reply via email to