I needed to connect to a sql db this morning and I didn’t have a client. Docker to the rescue!
docker run -it mysql /bin/bash
mysql -u <myuser> -p -h <myhost> <mydatabase>
when using the
-p flag it will prompt you for the password instead of having it in the terminal.
Simple easy and connected.