MySQL/MariaDB supports client authentication over TLS [1]. [1] https://mariadb.com/kb/en/library/securing-connections-for-client-and-server/