On Friday 21 February 2003 15:49, Bryan Lipscy wrote:
> $db= @mysql_pconnect ( $DB_HOST , $DB_USER , $DB_PASS );
> @mysql_select_db ( $DB_DB )  or die ( "DATABASE ERROR!".mysql_error() );
>
> Returns DATABASE ERROR!Can't connect to local MySQL server through
> socket '/tmp/mysql.sock' (2)
>
> MySQL server exists on a Win2ksp3 box.
> Apache with PHP 4.3.0 exists on a Slackware 8.1 box.
>
> All parameters are correct.
> Boxes can see each other.
> All php scripts work when run on the Win2k box.
>
>
> Any ideas why connecting to php/mysql would throw this error?

Search the archives or search the mysql list archives.

-- 
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
------------------------------------------
/*
Loose bits sink chips.
*/


-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to