Nitin Bhardwaj

Nitin Bhardwaj

  • NA
  • 15.9k
  • 13m

How to Back Up MySQL Databases From The Command Line

Jul 17 2017 4:08 AM
Hi,
 
How to Back Up MySQL Databases From The Command Line in .Net core
 
I am using this syntax:
 
@"mysqldump -u -p databaseName> "'" + backupDIR + "\\" + dateTime.Now.ToString("ddMM") + ".Sql'"
 
I got an error
 
You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near  

Answers (3)