mirror of
https://github.com/tldr-pages/tldr.git
synced 2024-10-30 18:17:57 +01:00
commit
dfa5e2437b
1 changed files with 11 additions and 0 deletions
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 a new issue