restore mysql database in vb .net

  • Thread starter Thread starter heeheelim lim via .NET 247
  • Start date Start date
H

heeheelim lim via .NET 247

i currently has an backup of a database (called ybam) in a sql script (called c:\20053131028.sql)...
now i want to create a button where an user can restore the ybam database by click on restore button on the vb .net form....
what should i code in the button.... thank you very much....
 
Just simple query to database or you can directly call mysql.exe to restore
you database (preferably). Command line looks like "mysql.exe db_name <
c:\20053131028.sql". That's it.

Gaidar
 
Back
Top