Mysql备份命令给出错误

时间:2016-03-16 12:38:06

标签: mysql backup

我从命令行备份MySql。我已安装 xampp 但我想从命令行恢复。

    private void btnCalc_Click(object sender, EventArgs e)
    {

        double fromNum, toNum, total = 0;

        fromNum = double.Parse(txtFrom.Text);
        toNum = double.Parse(txtTo.Text);

        lstResult.Items.Clear();
        lblResult.Text = "";

        if (radAsc.Checked)
        {
            while (fromNum <= toNum)
            {
                lstResult.Items.Add(fromNum);

                total = total + fromNum;

                fromNum++;
            }
        }

        else
        {
            while (fromNum >= toNum)
            {
                lstResult.Items.Add(fromNum);

                total = total + toNum;

                toNum--;
            }
        }

        lblResult.Text = total.ToString();
    }

我的尝试是

username: root
password: 
database: ritesh

并给我错误

mysqldump -u root -p ritesh>ritesh.sql

0 个答案:

没有答案