Closed GoogleCodeExporter closed 9 years ago
Are you sure this is a Cygwin-compiled mysql binary?
Original comment by medgar123
on 21 Jan 2009 at 8:28
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
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
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
Original issue reported on code.google.com by
wh720m...@gmail.com
on 23 Nov 2008 at 12:21