logo       
Google Custom Search
    AddThis Social Bookmark Button
-->

Re: mysql.sock location: msg#00035

Subject: Re: mysql.sock location
On Friday 25 March 2005 11:28, BenV wrote:
> Heia,
>
> Yesterday I had about 4 hours of fun wardriving using kismet and gpsdrive,
> so thanks for the great program :)
>
> Anyway, I tried to get gpsdrive-2.10pre2 and -cvs running using kismet
> (-svn) and MySQL (4.0.23a). I got the MySQL running with gpsdrive-2.09
> almost instantly, but when I upgraded gpsdrive to see if that would fix the
> issues I had with kismet I got:
> Can't connect to local MySQL server through socket
> '/var/run/mysql/mysql.sock' (2) Well, since mysql.sock is located in /tmp
> on my system that's not very weird. (also: mysql_config --socket returns
> /tmp/mysql.sock).
> Any ideas on this? :)
>
> Also I get "Error in query: MySQL server has gone away" after that, but I
> suppose that's related :)

I just was reading a similar Bug report yesterday. Just start it with -D 99 
and have an exact look at the query string. Do you see the socket inside the 
query?

Which Distribution are you working on?

can you paste the sql part in your config  file for me?

-

Joerg
--
This message was part of the gpsdrive mailinglist
unsubscribing can be done by sending a mail containing a body of:
-quote--
unsubscribe gpsdrive
-unquote--
to majordomo-ahljRfkWE0EwtzFM8z8+AfP6llvjuJOh@xxxxxxxxxxxxxxxx



<Prev in Thread] Current Thread [Next in Thread>