1
0
Fork 0
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:
Waldir Pimenta 2020-08-02 17:48:22 +01:00 committed by GitHub
parent d36da71fb6
commit 9f2c29171c
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -23,7 +23,7 @@
`mysql -e "source {{filename.sql}}" {{database_name}}` `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}}` `mysql --user {{user}} --password {{database_name}} < {{path/to/backup.sql}}`