MariaDB doesn't have a commitment to binary compatibility with MySQL, though. For a time it was marketed as a drop-in replacement, but that has been increasingly untrue for over a decade now.
...and that doesn't even account for differences in global variables/configuration, SQL syntax, functions, replication, etc.