If you have data in a docker volume that you want to copy out but you’ve lost the container that mounts it, you can use any container to mount the volume and copy the data out.
You can go to https://www.katacoda.com/mysql-db-sandbox/scenarios/mysql-sandbox to access the MySQL Sandbox, which has the Sakila sample database loaded in a MySQL instance. You’ll have to set up a (free) Katacoda account. Then, click the Start Scenario button. See also: https://dev.mysql.com/doc/index-other.html
Collections are analogous to tables in relational databases. If a collection does not exist, MongoDB creates the collection when you first store data for that collection.
rhc app create elgg php- 5.4 mysql- 5.5 cd elgg git remote add upstream -m master git://github.com/openshift-quickstart/elgg-openshift-quickstart.git git pull -s recursive -X theirs upstream master git push When the installation asks you for your data directory, use the value of the environment variable $OPENSHIFT_DATA_DIR Source: https://github.com/openshift-quickstart/elgg-openshift-quickstart Another way: After create your PHP application on Openshift, Choose: Making code changes Install the Git client for your operating system, and from your command line run git clone ssh://xxx@xxx-xxx.rhcloud.com/~/git/elgg.git/ cd elgg/ Download the latest version of Elgg extract the file to the git folder. git add . git commit -m 'My changes' git push When you push changes the OpenShift server will report back its status on deploying your code. The server will run any of your configured deploy hooks and then restart the application. Create a data folder Elgg needs a spec...
Comments
Post a Comment