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/