How to connect to MySQL from Cygwin?

Install the mysql Cygwin package.

stackoverflow.com/a/17654860
stackoverflow.com/a/9996769

A better solution is to add the bin MySQL subfolder to PATH because the Cygwin package ignores the MySQL configuration file (my.ini) of the Windows MySQL installattion.

2024-02-09--16-46-02