Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Windows XP + Cygwin + PuTTYcyg + MySQL #13

Closed
GoogleCodeExporter opened this issue Apr 15, 2015 · 4 comments
Closed

Windows XP + Cygwin + PuTTYcyg + MySQL #13

GoogleCodeExporter opened this issue Apr 15, 2015 · 4 comments

Comments

@GoogleCodeExporter
Copy link

I Use Windows XP + SP3, and install Cygwin. I can login in Cygwin using
PuTTYcyg.
But, when I want to connect MySQL Server: mysql -u root -p
no password input prompt appear. Any hint?

Original issue reported on code.google.com by wh720m...@gmail.com on 23 Nov 2008 at 12:21

@GoogleCodeExporter
Copy link
Author

Are you sure this is a Cygwin-compiled mysql binary?

Original comment by medgar123 on 21 Jan 2009 at 8:28

  • Changed state: Accepted

@GoogleCodeExporter
Copy link
Author

I am not sure. I have only installed mysql binary for windows. I can run "mysql 
-u
root -p" in windows command prompt window. But when in PuTTYcyg, no password 
input
prompt.
Thank you.

Original comment by wh720m...@gmail.com on 22 Jan 2009 at 4:33

@GoogleCodeExporter
Copy link
Author

This is very likely the reason why it doesn't work.  The FAQ explains this in 
more detail: http://code.google.com/p/puttycyg/wiki/FAQ

There may be a mysql binary compiled for Cygwin, if you really need to use it 
on PuTTYcyg.  If you're feeling 
adventurous, the Windows mysql binary should work OK as long as you don't try 
to use the password prompt.  
You can avoid this by using -pMYPASS or setting up a shell function to do this 
for you alias mysql-root 'mysql 
-uroot -pMYPASS'.  But in general, you should not expect Windows console 
programs to work at all under 
PuTTYcyg -- only Cygwin-compiled programs are meant to be supported.  I should 
put instructions in the 
FAQ for how to determine whether a given program targets Windows or Cygwin ...

Sorry I was so late in responding to your original message BTW.

Original comment by medgar123 on 22 Jan 2009 at 12:44

  • Changed state: WontFix

@GoogleCodeExporter
Copy link
Author

Yes, I have tried "mysql -u root -pMYPASS", but still no prompt.
I just want to test such program under Cygwin (PuTTYcyg) with interactive 
prompt,
mysql is not necessary running under Cygwin.

Anyway, PuTTYcyg is a good tool, because of its maximize window, and like unix
terminal window. Thank you.

Original comment by wh720m...@gmail.com on 22 Jan 2009 at 2:14

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant