mysql_mysqldump
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
mysql_mysqldump [2015/12/14 12:12] – luke7858 | mysql_mysqldump [2024/05/23 07:26] (current) – external edit 127.0.0.1 | ||
---|---|---|---|
Line 1: | Line 1: | ||
- | === Dumping and Importing database | + | ~~NOCACHE~~ |
- | To take a mysql dump you should not be logged into mysql, you will just need to be in the terminal. Use the following command to export the db to the directory you are currently in: | + | ====== |
- | \\ | + | {{tabembed>[[mysql_mysqldump_intro|Intro, |
- | === Viewing databases outside of mysql === | + | |
- | You can view your mysql databases without logging into mysql with the following command: | + | |
- | + | ||
- | <sxh bash>mysql -e "show databases"< | + | |
- | or | + | |
- | <sxh bash> | + |
mysql_mysqldump.1450095120.txt.gz · Last modified: 2024/05/23 07:26 (external edit)