Since 8.0.16, MySQL Server supports a --validate-config option
that enables the startup configuration to be checked for problems
without running the server in normal operational mode.
--validate-config can be used any time, but is particularly useful after an upgrade, to check whether any options previously used with the older server are considered by the upgraded server to be deprecated or obsolete.
The post Check the MySQL server startup configuration first appeared on dasini.net - Diary of a MySQL expert.