可以备份,但还原不了
string s = "--host=localhost --user=root --password=mysql epet -r \"" + string.Format("{0}", @"D:备份\epet.sql") + "";
System.Diagnostics.Process.Start(@"D:\备份\mysqldump.exe", s);这是备份语句
string s = "--host=localhost --user=root --password=mysql epet -r \"" + string.Format("{0}", @"D:备份\epet.sql") + "";
System.Diagnostics.Process.Start(@"D:\备份\mysqldump.exe", s);这是备份语句
System.Diagnostics.Process.Start(@"D:\备份\mysql.exe", s);