1
0
Fork 0
mirror of https://github.com/tldr-pages/tldr.git synced 2024-10-30 18:17:57 +01:00

Merge pull request #186 from iwiznia/master

Added mysqldump.md
This commit is contained in:
Ruben Vereecken 2014-05-26 21:32:39 +02:00
commit dfa5e2437b

11
pages/common/mysqldump.md Normal file
View 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}}`