snipt

Ctrl+h for KB shortcuts

Text only

Mysql dump using SSH

mysqldump --opt -u [dbuser] -p [dbname]> [filename].sql
https://snipt.net/embed/93535cce40c45c2f80c726e5c078f6a7/
/raw/93535cce40c45c2f80c726e5c078f6a7/
93535cce40c45c2f80c726e5c078f6a7
text
Text only
1
2019-07-23T18:13:30
True
False
False
Jan 15, 2014 at 08:56 PM
/api/public/snipt/43134/
mysql-dump-using-ssh
<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 --opt -u [dbuser] -p [dbname]&gt; [filename].sql </span></pre></div> </td></tr></table>
cmd, command-line, console, linux, mysql, mysqldump, server, ssh