Reputation: 115
I've made some databases in PHPmyadmin that I need to access through OpenShift. I've added the correct cartridges to be able to do this, but I don't know how to manually upload this database or if OpenShift does this automatically. Does anyone have any experience with this?
Upvotes: 0
Views: 167
Reputation: 181
The phpmyadmin cartridge provides phpMyAdmin on OpenShift. In order to add this cartridge to an application, the MySQL cartridge must already be present. Once installed, phpMyAdmin can be used by navigating to http://app-domain.rhcloud.com/phpmyadmin with the MySQL login credentials.
Using phpmyadmin is the easiest, but this can't be used with scaled applications.
The easiest thing to do would be to scp the database to your gear, and use the mysql command to load it in.
Upvotes: 1