I'm experimenting with several of the PHP based WebDatabase front ends and
am getting the following errors from all of them:

"Warning: Can't connect to local MySQL server through socket
'/var/lib/mysql/mysql.sock' (111) in /home/httpd/html/pub/mainfile.php on
line 9
Unable to select database"

I've tried the following:
[root@casadelove pub]# telnet localhost 3306 |strings
Connected to
Escape character is '^]'.
Connection closed by foreign host.

The databases being requested do exist and are populated with the default
data and WebMin (Perl-based web administration program) accesses the test
databases just fine.

This is on a RH6.2 system with Apache 1.3.14 and PHP 4.0.4.

This strikes me as something really stupid that I'm missing, anyone have any
bright ideas where to look?

PHP Database Mailing List (
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]

Reply via email to