It is recommended for more basic users to use the embedded database rather than create a connection to MySQL. If you're a more advanced user then follow these instructions for creating the database for openfire. Otherwise skip it.
{{Code|hda-create-userdb-and-db user openfire}}
Now that you've created your database you need to set up the connection.