<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: mysql dump in Operating System - Linux</title>
    <link>https://community.hpe.com/t5/operating-system-linux/mysql-dump/m-p/4021896#M28808</link>
    <description>I'm going to assume the username and password pair you're using are valid for the 'test' database..&lt;BR /&gt;&lt;BR /&gt;With that, the only issue I really see is that you're trying to redirect to a directory, when you need to be redirecting to a file, i.e.&lt;BR /&gt;&lt;BR /&gt;mysqldump -hmyhost.com -utest -ptest2 test &amp;gt; /home/admin/test-dump.sql&lt;BR /&gt;&lt;BR /&gt;Depending on the table types, and how often the tables are used, you might want to look at '--opt' and '-q' flags to 'mysqldump'.</description>
    <pubDate>Mon, 18 Jun 2007 07:54:09 GMT</pubDate>
    <dc:creator>Stuart Browne</dc:creator>
    <dc:date>2007-06-18T07:54:09Z</dc:date>
    <item>
      <title>mysql dump</title>
      <link>https://community.hpe.com/t5/operating-system-linux/mysql-dump/m-p/4021895#M28807</link>
      <description>Hi there&lt;BR /&gt;&lt;BR /&gt;A nead to build command to backup mysql loging from remote host (host A), the files shoud be stored on host A but database exist at host b.&lt;BR /&gt;I was trying :&lt;BR /&gt;&lt;BR /&gt;mysqldump -h myhost.com -u test -ptest2 test &amp;gt; /home/admin/&lt;BR /&gt;&lt;BR /&gt;But it's not working.&lt;BR /&gt;&lt;BR /&gt;Can anyone help ?</description>
      <pubDate>Mon, 18 Jun 2007 07:47:38 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/mysql-dump/m-p/4021895#M28807</guid>
      <dc:creator>Piotr Kirklewski</dc:creator>
      <dc:date>2007-06-18T07:47:38Z</dc:date>
    </item>
    <item>
      <title>Re: mysql dump</title>
      <link>https://community.hpe.com/t5/operating-system-linux/mysql-dump/m-p/4021896#M28808</link>
      <description>I'm going to assume the username and password pair you're using are valid for the 'test' database..&lt;BR /&gt;&lt;BR /&gt;With that, the only issue I really see is that you're trying to redirect to a directory, when you need to be redirecting to a file, i.e.&lt;BR /&gt;&lt;BR /&gt;mysqldump -hmyhost.com -utest -ptest2 test &amp;gt; /home/admin/test-dump.sql&lt;BR /&gt;&lt;BR /&gt;Depending on the table types, and how often the tables are used, you might want to look at '--opt' and '-q' flags to 'mysqldump'.</description>
      <pubDate>Mon, 18 Jun 2007 07:54:09 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/mysql-dump/m-p/4021896#M28808</guid>
      <dc:creator>Stuart Browne</dc:creator>
      <dc:date>2007-06-18T07:54:09Z</dc:date>
    </item>
    <item>
      <title>Re: mysql dump</title>
      <link>https://community.hpe.com/t5/operating-system-linux/mysql-dump/m-p/4021897#M28809</link>
      <description>mysqldump needs a file to dump it's data in, not a directory.&lt;BR /&gt;&lt;BR /&gt;If you want to load the dump on another host (say: Host B, which already has the same database) you can make it add a dropline for that database (BE SURE there is no vital information in that database as it's going to be dropped!!!) with option:&lt;BR /&gt;--add-drop-database&lt;BR /&gt;&lt;BR /&gt;But I think you're talking about a full db export &amp;amp; import. --opt is recommended for that (also enables add-drop-table by default)&lt;BR /&gt;&lt;BR /&gt;So you'd have something like:&lt;BR /&gt;mysqldump -h host -utest -ptest --add-drop-database --databases testdb &amp;gt; testdb.sql&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Mon, 18 Jun 2007 08:31:27 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/mysql-dump/m-p/4021897#M28809</guid>
      <dc:creator>Van den Broeck Tijl</dc:creator>
      <dc:date>2007-06-18T08:31:27Z</dc:date>
    </item>
  </channel>
</rss>

