RE: [PHP-DOC] Can't connect mysql to php.
| From: | Enrique Garcia Briones | Date: | Thu, 11 Mar 2004 14:15:09 +0000 |
| Subject: | RE: [PHP-DOC] Can't connect mysql to php. | ||
| References: | 1 | Groups: | php.doc |
| Request: | Send a blank email to phpdoc+get-969359482@lists.php.net to get a copy of this message | ||
Hi,
First of all, people said that this is not the right place to ask
general questions, please refer to php-general@php.net
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:james@electricbluefish.com]
Enviado el: Miércoles, 10 de Marzo de 2004 07:52 p.m.
Para: phpdoc@lists.php.net
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