snipt

Ctrl+h for KB shortcuts

Bash

mysql dump into file

mysqldump -u USER -p DATABASE > filename.sql
https://snipt.net/embed/4ab6543aeaabfd991684f9a173a932cf/
/raw/4ab6543aeaabfd991684f9a173a932cf/
4ab6543aeaabfd991684f9a173a932cf
bash
Bash
1
2019-07-19T01:13:19
True
False
False
/api/public/snipt/292/
mysql-dump-into-file
<table class="highlighttable"><tr><td class="linenos"><div class="linenodiv"><pre><a href="#L-1">1</a></pre></div></td><td class="code"><div class="highlight"><pre><span></span><span id="L-1"><a name="L-1"></a>mysqldump -u USER -p DATABASE &gt; filename.sql </span></pre></div> </td></tr></table>
backup, mysql