mirror of
https://github.com/nextcloud/docker.git
synced 2025-01-24 06:33: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:
parent
85e22b4a8e
commit
f69a48834e
1 changed files with 1 additions and 1 deletions
|
@ -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
|
- To import from a MySQL dump use the following commands
|
||||||
```console
|
```console
|
||||||
docker cp ./database.dmp nextcloud_db_1:/dmp
|
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
|
docker-compose exec db rm /dmp
|
||||||
```
|
```
|
||||||
- To import from a PostgreSQL dump use to following commands
|
- To import from a PostgreSQL dump use to following commands
|
||||||
|
|
Loading…
Reference in a new issue