Adding a MariaDB cartridge to your application
In this recipe, you will learn how to add the MariaDB downloadable cartridge to your OpenShift application. MariaDB (https://mariadb.org/) is a community fork of the MySQL database. It is intended to be a drop-in replacement for the MySQL database.
Getting ready
To step through this recipe, you will need the rhc
command-line client installed on your machine. Refer to the Installing the OpenShift rhc command-line client recipe in Chapter 1, Getting Started with OpenShift for details. Also, we will use the application created in the Creating an OpenShift application using the rhc command-line client recipe in Chapter 3, Creating and Managing Applications.
How to do it…
To install the MariaDB 5.5 downloadable cartridge on the myapp
application, open a new command-line terminal, then change the directory to the myapp
directory location and execute the following command:
$ rhc cartridge-add https://raw.github.com/openshift-cartridges/mariadb-cartridge...