Нет описания

Johannes Zellner 6321890069 Initial commit 5 лет назад
apache 6321890069 Initial commit 5 лет назад
app 6321890069 Initial commit 5 лет назад
supervisor 6321890069 Initial commit 5 лет назад
website 6321890069 Initial commit 5 лет назад
CloudronManifest.json 6321890069 Initial commit 5 лет назад
Dockerfile 6321890069 Initial commit 5 лет назад
README.md 6321890069 Initial commit 5 лет назад
start.sh 6321890069 Initial commit 5 лет назад
supervisor-apache2.conf 6321890069 Initial commit 5 лет назад

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