Hyphens and underscores in mysql.cnf
According to this bug_and - may both be used in mysql / mariadb configuration options inside the mysql.cnf file.
E.g.
[mariadb]
log-bin # enable binary loggingand
[mariadb]
log_bin # enable binary loggingare both ok!
For googling and searching inside pages the _ variant usually works better.