"mysqld" vs "server" in my.cnf
According to the MySQL docs:

mysqld reads options from the [mysqld] and [server] groups.

I could trace this back to MySQL 5.0, so this has been there for quite some time.