Fix mysql import in nextcloud readme

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

Signed-off-by: J0WI <J0WI@users.noreply.github.com>
pull/1832/head
J0WI 3 years ago committed by GitHub
parent 85e22b4a8e
commit f69a48834e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -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

Loading…
Cancel
Save