Skip to content

Commit 90e1b5b

Browse files
committed
docs(readme): adjust data dump commands
1 parent fb68162 commit 90e1b5b

File tree

1 file changed

+5
-2
lines changed

1 file changed

+5
-2
lines changed

README.md

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -65,8 +65,11 @@ mysqldump -u jq_wordpress -p wordpress > wordpress.sql # Credentials are in the
6565
Then, on your local machine, run:
6666

6767
```sh
68-
scp wp-01.ops.jquery.net:~/wordpress.sql . # This assumes your SQL dump is in your home directory on the server
69-
docker exec -i jquerydb mysql -u YOUR_MYSQL_USER -p YOUR_MYSQL_DATABASE < wordpress.sql
68+
# This assumes your SQL dump is in your home directory on the server
69+
scp wp-01.ops.jquery.net:~/wordpress.sql .
70+
# These are the same as what's in your .env file
71+
# Note there is no space between -p and the password
72+
docker exec -i jquerydb mysql -u YOUR_MYSQL_USER -pYOUR_MYSQL_PASSWORD YOUR_MYSQL_DATABASE < wordpress.sql
7073
```
7174

7275
8. Visit http://local.jquery.com, or https://local.jquery.com if you created certs.

0 commit comments

Comments
 (0)