|
|
il y a 2 ans | |
|---|---|---|
| apache | il y a 5 ans | |
| supervisor | il y a 5 ans | |
| website | il y a 2 ans | |
| CloudronManifest.json | il y a 3 ans | |
| Dockerfile | il y a 3 ans | |
| README.md | il y a 5 ans | |
| start.sh | il y a 5 ans |
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
Ensure charset for mysqli in database.php (2 of them) matches the tables!
Dump customer_template table. Upload to /app/data/customer_template.sql Import
mysql --user=${CLOUDRON_MYSQL_USERNAME} --password=${CLOUDRON_MYSQL_PASSWORD} --host=${CLOUDRON_MYSQL_HOST} ${CLOUDRON_MYSQL_DATABASE} < /app/data/customer_template.sql