Web lists-archives.org

Re: MySql doesn't work in cygwin




Berable wrote:

> I installed mysql 5 from the source(in version 5.0.45,with  ./configure then
> make install).Allright, but when I try to lauch  (mysql -u root -p, after
> put password)
> this error occurs:
> 
> "can't connect to local Mysql Server through socket '/tmp/mysql.sock'"

How did you start the server?  Everything that you've said indicates
that you compiled the software and then tried running the client but
without a server running that's never going to achieve anything.

Note that if you want to use the Win32 server you can only use a TCP
socket, not a unix socket, since the Win32 server doesn't have a notion
of a unix domain socket.

Brian

--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Problem reports:       http://cygwin.com/problems.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/