[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [cobalt-developers] MySQL PHP problem



What is the string your using to make the connection in the PHP script?

snip out the hostnames and stuff for security reasons.

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