delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2008/06/05/12:28:48

X-Recipient: archive-cygwin AT delorie DOT com
X-Spam-Check-By: sourceware.org
Message-ID: <48481421.DCE8708F@dessent.net>
Date: Thu, 05 Jun 2008 09:28:17 -0700
From: Brian Dessent <brian AT dessent DOT net>
X-Mailer: Mozilla 4.79 [en] (Windows NT 5.0; U)
MIME-Version: 1.0
To: Berable <brunormoura AT gmail DOT com>
CC: cygwin AT cygwin DOT com
Subject: Re: MySql doesn't work in cygwin
References: <17673717 DOT post AT talk DOT nabble DOT com>
X-IsSubscribed: yes
Reply-To: cygwin AT cygwin DOT com
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
Delivered-To: mailing list cygwin AT cygwin DOT com

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/

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019