Can't connect mysql to php.
| From: | James Applebaum | Date: | Thu, 11 Mar 2004 01:51:36 +0000 |
| Subject: | Can't connect mysql to php. | ||
| Groups: | php.doc | ||
| Request: | Send a blank email to phpdoc+get-969359472@lists.php.net to get a copy of this message | ||
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 3600php.ini mysql.default_port = 3306 mysql.default_socket = /var/lib/mysql/mysql.sock mysql.default_host = localhost