TLDR;

With docker installed, this command can be be used to access the mysql server without installing the mysql client.

docker run -it --rm mysql mysql -u <your-account> -p<your-password> -h <your-host> [<your-database-name>]