If you want to use MySQL as your default database, you need to go to your Project Settings, and look at the Configuration. You can set the database type to MySQL / MariaDB there.
If you want to connect to MySQL as well as the default Mendix database, have a look at the Database Connector module on the App Store.