delorie.com/archives/browse.cgi | search |
X-Recipient: | archive-cygwin AT delorie DOT com |
X-Spam-Check-By: | sourceware.org |
Message-ID: | <17673717.post@talk.nabble.com> |
Date: | Thu, 5 Jun 2008 09:10:08 -0700 (PDT) |
From: | Berable <brunormoura AT gmail DOT com> |
To: | cygwin AT cygwin DOT com |
Subject: | MySql doesn't work in cygwin |
MIME-Version: | 1.0 |
X-Nabble-From: | brunormoura AT gmail DOT com |
X-IsSubscribed: | yes |
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 |
Hi! 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'" Bellow, my mysql options in my.cnt [client] port = 3306 socket = /var/tmp/mysql.sock [mysqld] port = 3306 socket = /var/tmp/mysql.sock datadir = /usr/local/mysql/data I try this configuration to I'm my file my.cnt I put this: # The following options will be passed to all MySQL clients [client] password = admin port = 3306 # The MySQL server [mysqld] port = 3306 and I try to connect with db: mysql -h 127.0.0.1 -u root -p So, after the password, this error happen: Error 2003 (HY000):Can't connect to MySQL server on '127.0.0.1' (111) the same occurs if I put host = 127.0.0.1. in the my.cnt and execute mysql -u root -p Why this kind of problem happen? Many post in others forum about this problem don't help me But I'm want just use mysql command line in the same way than I use in windows. Thank's for help me! -- View this message in context: http://www.nabble.com/MySql-doesn%27t-work-in-cygwin-tp17673717p17673717.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/
webmaster | delorie software privacy |
Copyright © 2019 by DJ Delorie | Updated Jul 2019 |