On Friday 28 March 2003 05:22 pm, David Hollister wrote:
> On Fri, 2003-03-28 at 15:18, Reuben D. Budiardja wrote:
<snip>
> > 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
>
> On my machine, mysql.sock is in /var/lib/mysql.  Perhaps that's the
> problem, it's just somewhere else.
>
> I don't know off-hand, but I'd guess there's some config variable you
> need to set or specify when you run configure on the php source to tell
> it where to find that socket.

Yep, just found out about that too after digging around. I can specify the 
socket to connect to from the mysql_connect php function.

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