This is the mail archive of the cygwin mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: MySql doesn't work in cygwin


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/


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]