title: mysql dump - Unknown database 'mysqldump'
body: <p>I am trying to export a database from c# using mysqldump.</p>
  
  <p>When I run it i get this message: Unknown database 'mysqldump' when selecting the database.
  I can't find the solution.</p>
  
  <pre><code>public static void mysqlBackup()
  {
      try
      {
          //string time = DateTime.Now.ToString("dd-MM-yyyy");
  
          Log.Info("Starting MySQL dump");
  
  
          Process MySqlDump = new Process();
          MySqlDump.StartInfo.FileName = @"mysqldump.exe";
          MySqlDump.StartInfo.UseShellExecute = false;
          MySqlDump.StartInfo.Arguments = 
             "mysqldump -uroot -p******** b3 &gt;"+ 
             " C:/Users/Administrator/Documents/temp/backups/backup.sql";
          MySqlDump.StartInfo.RedirectStandardInput = false; 
          MySqlDump.StartInfo.RedirectStandardOutput = false;
  
          MySqlDump.Start();
  
          MySqlDump.WaitForExit();
          MySqlDump.Close();
  
          Log.Info("Successfull created");
      }
  
      catch (IOException ex)
      {
          Log.Error("Unable to write the database file" + ex.ToString());
      }
  }
  </code></pre>
  
  <p>I tried to remove the mysqldump from the arguments kinda the same problem.</p>