Hi, 

First of all, people said that this is not the right place to ask
general questions, please refer to [EMAIL PROTECTED]

But you can check that the logs should be at /var/loh/httpd/*.err, and
also
You can have a look at your php.ini in the error reporting section.

Regards

Enrique García Briones


-----Mensaje original-----
De: James Applebaum [mailto:[EMAIL PROTECTED] 
Enviado el: Miércoles, 10 de Marzo de 2004 07:52 p.m.
Para: [EMAIL PROTECTED]
Asunto: [PHP-DOC] Can't connect mysql to php.

Mysql working fine & so is PHP.

But when I try to connect to the mysql table from within browser I get 
nothing.  Additionally I can't locate a log to tell me what is 
happening.

The sock an port is defined in both the my.conf and the php.ini.
Thoughts?

PHP 4.1.2 and mysql 4.0.17

my.conf
count                             0
force                             FALSE
compress                          FALSE
character-sets-dir                (No default value)
host                              (No default value)
port                              3306
relative                          FALSE
socket                            /var/lib/mysql/mysql.sock
sleep                             0
user                              root
verbose                           FALSE
vertical                          FALSE
connect_timeout                   43200
shutdown_timeout                  3600

php.ini
mysql.default_port = 3306
mysql.default_socket = /var/lib/mysql/mysql.sock
mysql.default_host = localhost

Reply via email to