From: Reindl Harald Date: October 19 2011 4:05pm Subject: Re: mysql server does not recognize user password List-Archive: http://lists.mysql.com/mysql/226106 Message-Id: <4E9EF551.20708@thelounge.net> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="------------enigC821B45DBAD5502DE9FB893A" --------------enigC821B45DBAD5502DE9FB893A Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Am 19.10.2011 17:45, schrieb Tim Johnson: > * Reindl Harald [111018 23:24]: >> Am 19.10.2011 01:36, schrieb Tim Johnson: >>>> try "mysql -u tim -p" >>> Same error: >>> ERROR 1045 (28000): Access denied for user 'tim'@'localhost' (using = password: NO) >>>>> and enter yur password in the followed dialog >>> Doesn't even ask for the pwd.. >> >> then your mysql CLIENT is broken or somehow misconfigured or "overwrit= ten" with a dumb alias >> what says "which mysql"? > you nailed it! Thank you. >=20 > mysql $1 $2 ## where is $3? >=20 > I've been trying to think of a way of covering up this dumb > mistake, but I'm just going to come out and say it.=20 > I'd set up this quick and dirty script (because at the time, > being new to the OS, couldn't figure out how to do a proper alias > or symlink) > and forgot about it.... ~/.bashrc [root@buildserver:~]$ which mysql alias mysql=3D'/usr/bin/mysql -p' /usr/bin/mysql --------------enigC821B45DBAD5502DE9FB893A Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.11 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/ iEYEARECAAYFAk6e9VEACgkQhmBjz394AnnVOwCeMorzWv0aKU7z+VREWGRwicV5 lB4AoIy/dG5oXMTlmBTlTJr6Da+i+fQX =Crok -----END PGP SIGNATURE----- --------------enigC821B45DBAD5502DE9FB893A--