|
Posted by Robin S. on 01/10/08 16:03
I've used phpinfo() to confirm settings for mySQL on our host server,
and it's not returning accurate info.
phpinfo() returns a mySQL client API version of 3.23.54 (uselss for
me), where as a SELECT VERSION() query on the mySQL database returns
version 5.0.27 (exactly what we need). I think there's something wrong
with the mySQL library in PHP.
Is there any more thurough method of seeing php's settings for mySQL?
Obviously I don't have access to the installation as it's on a remote
server - megasqlservers.com
The reason I'm asking is that I've installed a shopping cart on our
host server which is currently returning:
**************************************
Warning: mysql_pconnect() [function.mysql-pconnect]: Can't connect to
local MySQL server through socket '/tmp/mysql.sock' (2)
Warning: mysql_select_db() [function.mysql-select-db]: Can't connect
to local MySQL server through socket '/tmp/mysql.sock' (2)
Warning: mysql_select_db() [function.mysql-select-db]: A link to the
server could not be established
Warning: session_start() [function.session-start]: Cannot send session
cache limiter - headers already sent
2002: Can't connect to local MySQL server through socket '/tmp/
mysql.sock' (2)
**************************************
(web addreses and directory structure has been removed for this
message)
I installed Apache, PHP and mySQL on my own box and installed the
shopping cart using the same installation files as on the remote
server, and everything works correctly.
I'm trying to diagnose the problem as our host doesn't seem to know
what's going on.
Any thoughts?
Regards,
Robin
Navigation:
[Reply to this message]
|