On Monday 02 June 2003 14:19, Greg Beaver wrote: > I'm trying to get an installation of PHP 4.3.2 with Apache 1.3.27 > (SAPI), and mysql/zlib/xml-rpc support working with redhat 9's standard > MySQL distribution 3.23.56-1.9 > > I have successfully compiled Apache and PHP so that normal programs work > in both cases. However, I get an error when I use mysql_connect() (no > parameters or with 'localhost' or with a username). > > The error is somthing like couldn't connect to MySQL through > /tmp/mysql.sock. (I'm sending this message from another system)
Try specifying 'mysql.default_socket' in php.ini. -- Jason Wong -> Gremlins Associates -> www.gremlins.biz Open Source Software Systems Integrators * Web Design & Hosting * Internet & Intranet Applications Development * ------------------------------------------ Search the list archives before you post http://marc.theaimsgroup.com/?l=php-general ------------------------------------------ /* */ -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php