This is a follow-up to an earlier question of mine.

I tried the following command (copied verbatim from [UCSC's mysql access docs][1]):

    mysql --user=genome --host=genome-mysql.cse.ucsc.edu -A

...but it fails with the error message:

    ERROR 1045 (28000): Access denied for user 'genome'@'my.host.redacted' (using password: YES)

What else must I do to get through?

Thanks!

 [1]: https://genome.ucsc.edu/goldenPath/help/mysql.html
OK, problem solved.

**Diagnosis:** <a href="https://en.wiktionary.org/wiki/PEBCAK">PEBKAC</a> [1]

**(one) Solution:** change the command line to

    mysql **--no-defaults** --user=genome --host=genome-mysql.cse.ucsc.edu -A

---

[1] More specifically: I had a long-forgotten `~/.my.cnf` file lingering around, which was required by a pipeline that I used briefly back in 2006; even adding `--verbose` to the command line did not reveal that an incorrect connection parameter, namely a password, was being read from this file; I knew, from the remark `"(using password: YES)"` in the error message, that a password was somehow being used, but I had no way of determining the source of this password, nor what it was.  How I finally figured out the problem is a tl;dr-length saga I won't bore you with.