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
-- 
-------------------------------------------------
/"\  ASCII Ribbon Campaign against HTML
\ /  email and proprietary format
 X   attachments.
/ \
-------------------------------------------------
Have you been used by Microsoft today?
Choose your life. Choose freedom.
Choose LINUX.
-------------------------------------------------



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

Reply via email to