mirror of
https://github.com/cheat/cheat.git
synced 2025-09-03 02:28:29 +02:00
Package with distutils
Created cheatsheets package to store the default sheets.
This commit is contained in:
8
cheatsheets/mysqldump
Normal file
8
cheatsheets/mysqldump
Normal file
@ -0,0 +1,8 @@
|
||||
To dump a database to a file:
|
||||
mysqldump -uusername -ppassword the-database > db.sql
|
||||
|
||||
To dump a database to a .tgz file:
|
||||
mysqldump -uusername -ppassword the-database | gzip -9 > db.sql
|
||||
|
||||
To dump all databases to a file:
|
||||
mysqldump -uusername -ppassword --all-databases > all-databases.sql
|
Reference in New Issue
Block a user