On Tue, 7 Aug 2001, Alexander Barkov wrote:

> > #2002: Can't connect to local MySQL server through socket 
>'/var/run/mysql/mysql.sock' (111) 
> 
> The problem is that currently mnogosearch can connect only
> using default unix socket when connecting to localhost.

I am seeing the above error (except referring to /tmp/mysql.sock) with the
following defined in /etc/opt/mnogosearch/search.htm and indexer.conf
(version 3.1.17):

        DBAddr mysql://username:[EMAIL PROTECTED]/mnogosearch/

The error repeats if the IP address of the hostname (guardian) is placed
in the above line, and also if a tab is used as the seperator.

The webserver running mnogosearch (and getting the error) is seperate from
the machine 'guardian' referenced above. 

A truss on search.cgi shows that it is not calling any of the gethost() or
inet_addr() functions, ie, it is not attempting to look up or make a
connection to a remote machine, and thus the attempt to find the local
mysql socket fails.

The failure of finding the mysql socket is a mysql problem.  The incorrect
attempt to use 'localhost' is a MnogoSearch problem.

Is it something that I've said incorrectly in the config files?

-- 
  Bruce Campbell <[EMAIL PROTECTED]>                +61-7-3367-0490
                      Systems Administrator                          APNIC

___________________________________________
If you want to unsubscribe send "unsubscribe general"
to [EMAIL PROTECTED]

Reply via email to