X-Recipient: archive-cygwin AT delorie DOT com X-Spam-Check-By: sourceware.org Message-ID: <17677561.post@talk.nabble.com> Date: Thu, 5 Jun 2008 12:16:58 -0700 (PDT) From: Berable To: cygwin AT cygwin DOT com Subject: Re: MySql doesn't work in cygwin In-Reply-To: <48482E82.4070602@etr-usa.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Nabble-From: brunormoura AT gmail DOT com References: <17673717 DOT post AT talk DOT nabble DOT com> <48482E82 DOT 4070602 AT etr-usa DOT com> X-IsSubscribed: yes Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm Precedence: bulk List-Id: List-Unsubscribe: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com Delivered-To: mailing list cygwin AT cygwin DOT com Warren Young wrote: > > Berable wrote: >> >> "can't connect to local Mysql Server through socket '/tmp/mysql.sock'" > > [snip] > >> socket = /var/tmp/mysql.sock > > Try changing /var/tmp to /tmp. > >> Error 2003 (HY000):Can't connect to MySQL server on '127.0.0.1' (111) > > What are the results of this command: > > $ netstat -na |grep LISTEN > > Do you see anything listening on port 3306? > >> But I'm want just use mysql command line > > My suggestion -- as one who has fought with this in the past -- is to > just use the native Windows port, from mysql.com. If you really need a > Cygwin client, you can pass flags to MySQL's configure script to build > only the client stuff. You can then use the resulting mysql program and > libmysqlclient library to connect to the native Windows server. > > -- > 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/ > > > I can access the my mysql running in windows from cygwin, instead of mysql that I have installed in cygwin environment? How can I do this? I prefer this way... but I'm newbie in this subject....rssss Thank's -- View this message in context: http://www.nabble.com/MySql-doesn%27t-work-in-cygwin-tp17673717p17677561.html Sent from the Cygwin list mailing list archive at Nabble.com. -- 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/