mirror of
https://github.com/tldr-pages/tldr.git
synced 2025-04-29 23:24:55 +02:00
mysql: mention mysqldump in backup restore example (#4237)
This commit is contained in:
parent
d36da71fb6
commit
9f2c29171c
1 changed files with 1 additions and 1 deletions
|
@ -23,7 +23,7 @@
|
|||
|
||||
`mysql -e "source {{filename.sql}}" {{database_name}}`
|
||||
|
||||
- Restore a database from a backup (user will be prompted for a password):
|
||||
- Restore a database from a backup created with `mysqldump` (user will be prompted for a password):
|
||||
|
||||
`mysql --user {{user}} --password {{database_name}} < {{path/to/backup.sql}}`
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue