Please note that these documents apply to OpenShift Online v2 only (accounts created before August 1st, 2016).
If you are using one of the OpenShift 3 products, please refer to documents available at


phpMyAdmin is a free software tool written in PHP, intended to handle the administration of MySQL over the Web. phpMyAdmin supports a wide range of operations on MySQL, MariaDB and Drizzle. Frequently used operations (managing databases, tables, columns, relations, indexes, users, permissions, etc) can be performed via the user interface, while you still have the ability to directly execute any SQL statement.


The phpMyAdmin add-on can be installed using the following command:

$rhc cartridge add phpmyadmin -a <appname>
You must have one of the MySQL cartridges installed for this add-on to be installed.
You can not install this add-on into a scalable application. Consider port forwarding in order to use a local database management software of your choice.
$rhc cartridge add phpmyadmin -a myapp
Using phpmyadmin-4 (phpMyAdmin 4.0) for 'phpmyadmin'
Adding phpmyadmin-4 to application 'myapp' ... done

phpmyadmin-4 (phpMyAdmin 4.0)
  Gears:          Located with php-5.4, mysql-5.5
  Connection URL:

Please make note of these MySQL credentials again:
  Root User: admin7rQNPN7
  Root Password: e7-39PXbqywu


Once you have installed the cartridge, make note of the Connection URL, Root User, and Root Password information that is displayed in your console. You will need this information to access the phpMyAdmin web application.

You can now paste the Connection URL into your web browser and it will ask for your username and password.
Enter the Root User as the username, and the Root Password as the password and then click ok.


For further information about phpMyAdmin, you can visit their Official Documentation page.