On Fri, 28 Mar 2003 17:18:36 -0500
"Reuben D. Budiardja" <[EMAIL PROTECTED]> wrote:

> 
> Hi,
> I have PHP that I compiled from source (PHP-4.3.0) with mysql support 
> (./configure --with-mysql). 
> 
> I installed mysql from Redhat RPM (Redhat 7.3), and then start the mysql 
> daemon by:
> $> /etc/rc.d/init.d/mysqld start
> 
> Connecting to mysql using the console is fine. But when trying it with php, I 
> got:
> 
> Can't connect to local MySQL server through socket '/tmp/mysql.sock' (2) in 
> /usr/local/apache/htdocs/ambs/inc/rb_mysql_class.inc on line 10
> 
> The file or dir /tmp/mysql.sock does not even exist. This is probably 
> something simple, but can anyone help point out what I am missing ?
> 
> Thanks.
> RDB
> -- 

Try google:
Searched the web for Can't connect to local MySQL server through socket 
'/tmp/mysql.sock' (2) in /usr/local/apache/htdocs/ambs/inc/rb_mysql_class.inc on line 
10.  Results 1 - 10 of about 13,600. Search took 0.12 seconds.



-- 
redhat-list mailing list
unsubscribe mailto:[EMAIL PROTECTED]
https://listman.redhat.com/mailman/listinfo/redhat-list

Reply via email to