Here you can find answer to questions about licensing MariaDB/MySQL/plugins etc.