« Return to Thread: Cygwin w/ Apache+mysql+php+Perl (win XP)

Re: Cygwin w/ Apache+mysql+php+Perl (win XP)

by JamesStock :: Rate this Message:

Reply to Author | View in Thread

Hi, thx for the response.  I tried w/ 'mysql -h 127.0.0.1 -u???? -p????' (substitute the ????s w/ the appropriate username and passwd of course) and it seems to just 'hang' there w/out doing anything.  If I entered an invalid username, it'll immediately give me ERROR 1045 (28000): Access denied for user "....'@'localhost' (Using password: YES).  SO I am confused.  

Besides this mysql connection through cygwin, I have issues w/ the perl connecting to mysql through cygwin also. Everything through DOS / apache server is fine.

-
Yaakov (Cygwin Ports) wrote:
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256

JamesStock wrote:
> I have Apache, mysql, PHP and perl (activestate) installed in my XP (NOT
> through cygwin but installed individually).  I can use dos prompt and
> connect to mysql DB (e.g mysql -U???? -P?????), I can also use Mysql-Front /
> SQLyog to connect to mysql (localhost of course).  But if I open an xterm
> through cygwin, I cannot connect to mysql (e.g mysql -U???? -P?????).

Try mysql -h 127.0.0.1.


Yaakov
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.5 (Cygwin)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFG13z6piWmPGlmQSMRCKApAKCmSxmNZRmwYF2xkQ+2hsUD2/wWqwCeJJ7N
f6edttkh9YnPpgj4XyqiaSk=
=rE38
-----END PGP SIGNATURE-----

--
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/

 « Return to Thread: Cygwin w/ Apache+mysql+php+Perl (win XP)