mariadb: my.cnf edits apply to --client-only

Closes #20533.