Bez popisu

Johannes Zellner 6321890069 Initial commit před 5 roky
apache 6321890069 Initial commit před 5 roky
app 6321890069 Initial commit před 5 roky
supervisor 6321890069 Initial commit před 5 roky
website 6321890069 Initial commit před 5 roky
CloudronManifest.json 6321890069 Initial commit před 5 roky
Dockerfile 6321890069 Initial commit před 5 roky
README.md 6321890069 Initial commit před 5 roky
start.sh 6321890069 Initial commit před 5 roky
supervisor-apache2.conf 6321890069 Initial commit před 5 roky

README.md

Drop all existing tables use webterminal and mysql client connection.

https://docs.cloudron.io/guides/import-mysql/#export

Create sql dump with schema, maybe remove database creation and remove USE <databasename> from dump.

Upload dump to /app/data/dump.sql and import:

mysql --user=${CLOUDRON_MYSQL_USERNAME} --password=${CLOUDRON_MYSQL_PASSWORD} --host=${CLOUDRON_MYSQL_HOST} ${CLOUDRON_MYSQL_DATABASE} < /app/data/dump.sql