If logged locally to a mult-instance host, it is not easy to guess how to connect to each MySQL instance.
Right now MOTD shows which instances are running:
$ ssh db1099.eqiad.wmnet Linux db1099 4.19.0-16-amd64 #1 SMP Debian 4.19.181-1 (2021-03-19) x86_64 Debian GNU/Linux 10 (buster) db1099 is a Core multi-instance server (mariadb::core) DB section s1 DB section s8 The last Puppet run was at Mon Sep 20 05:27:11 UTC 2021 (0 minutes ago). Last puppet commit: (cdb54e2cc5) Sukhbir Singh - durum: add motd ASCII art Debian GNU/Linux 10 auto-installed on Mon Aug 17 05:39:11 UTC 2020. Last login: Thu Sep 2 11:56:29 2021 from 208.80.155.110
We should either create an alias like:
mysql-s2 sort of type
And/or include how to connect on the MOTD with something like:
DB section s1: sudo mysql -S /run/mysqld/mysqld.s1.sock DB section s8: sudo mysql -S /run/mysqld/mysqld.s8.sock