I can successfully connect to MySQL from a DOS prompt, but when I try to connect from cygwin, it just hangs.
$/cygdrive/c/Program\ Files/MySQL/MySQL\ Server\ 5.1/bin/mysql -u root -p
What’s wrong?
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
Assuming that you have a native Windows build of MySQL, there is a terminal emulation incompatibility between
DOS(command prompt) windows andbash. The prompt formysqlisn’t showing up.To confirm this, type a command and return – it will probably work, but the prompt and the echo of the command (what you’re typing) is getting lost.
There may be a workaround in either the
CYGWINsytem properties or inbash, but I’ve never taken the time to work this one out.