On Fri, Mar 28, 2003 at 05:18:36PM -0500, Reuben D. Budiardja 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

Did you install the php-mysql rpm?

-- 
Ed Wilts, Mounds View, MN, USA
mailto:[EMAIL PROTECTED]
Member #1, Red Hat Community Ambassador Program



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

Reply via email to