php install problem?
| From: | Chris Dorr | Date: | Fri, 16 Nov 2001 17:20:11 +0000 |
| Subject: | php install problem? | ||
| Groups: | php.install | ||
| Request: | Send a blank email to php-install+get-4995@lists.php.net to get a copy of this message | ||
I've just installed, manually, php 4.0.5 and apache 1.3.22 on a RH 7.2 box.
Php does work fine, however it is not able to access the mysql stuff that I installed. I first was using the PEAR modules and thought something was wrong with PEAR, but thought I'd better try the regular mysql_connect stuff. So I did and get an error. Ideas? Mysql was installed using RPM packages. Installed the same version of server, client and devel.
I've got a username and password in the mysql database that I know works.
Here's the error I'm getting.
Warning: MySQL Connection Failed: Can't connect to local MySQL server through socket '/tmp/mysql.sock' (2) in /home/httpd/htdocs/include/db.inc on line 3
Warning: Supplied argument is not a valid MySQL-Link resource in /home/httpd/htdocs/include/db.inc on line 4
ERROR
Thanks in advance.
CD