Fără Descriere

Johannes Zellner 6321890069 Initial commit 5 ani în urmă
apache 6321890069 Initial commit 5 ani în urmă
app 6321890069 Initial commit 5 ani în urmă
supervisor 6321890069 Initial commit 5 ani în urmă
website 6321890069 Initial commit 5 ani în urmă
CloudronManifest.json 6321890069 Initial commit 5 ani în urmă
Dockerfile 6321890069 Initial commit 5 ani în urmă
README.md 6321890069 Initial commit 5 ani în urmă
start.sh 6321890069 Initial commit 5 ani în urmă
supervisor-apache2.conf 6321890069 Initial commit 5 ani în urmă

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