mirror of
https://github.com/tldr-pages/tldr.git
synced 2024-11-15 14:59:36 +03:00
commit
dfa5e2437b
11
pages/common/mysqldump.md
Normal file
11
pages/common/mysqldump.md
Normal file
@ -0,0 +1,11 @@
|
||||
# mysqldump
|
||||
|
||||
> Backups mysql databases
|
||||
|
||||
- creating a backup
|
||||
|
||||
`mysqldump -u {{user}} -p{{password}} {{database_name]}} > {{filename.sql}}`
|
||||
|
||||
- restoring a backup
|
||||
|
||||
`mysql -u {{user}} -p{{password}} {{database_name}} < {{filename.sql}}`
|
Loading…
Reference in New Issue
Block a user