Since it is open source software, MariaDB is free. The publication of it under the General Public License version 2 means you can download and use it as much as you want and even distribute it with other applications.