0
0
Fork 0
mirror of https://github.com/nextcloud/docker.git synced 2025-01-23 22:23:54 +01:00

Fix mysql import in nextcloud readme

https://github.com/docker-library/docs/pull/2210

Signed-off-by: J0WI <J0WI@users.noreply.github.com>
This commit is contained in:
J0WI 2022-10-05 20:15:07 +00:00 committed by GitHub
parent 85e22b4a8e
commit f69a48834e
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -485,7 +485,7 @@ You're already using Nextcloud and want to switch to docker? Great! Here are som
- To import from a MySQL dump use the following commands
```console
docker cp ./database.dmp nextcloud_db_1:/dmp
docker-compose exec db sh -c "mysql -u USER -p PASSWORD nextcloud < /dmp"
docker-compose exec db sh -c "mysql --user USER --password PASSWORD nextcloud < /dmp"
docker-compose exec db rm /dmp
```
- To import from a PostgreSQL dump use to following commands