connecting to mysql from cygwin
问题 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? 回答1: Assuming that you have a native Windows build of MySQL, there is a terminal emulation incompatibility between DOS (command prompt) windows and bash . The prompt for mysql isn't showing up. To confirm this, type a command and return - it will probably work, but the prompt and the echo of the