tags:

views:

30

answers:

1

Im trying to restore my mysql db from the dumpfile i have created. This is my code:

Shell(My.Application.Info.DirectoryPath & "\mysql.exe" & " --user=root --database testdb < " & """" & txtRestore.Text & """")

But nothing is happening; data is not being restored in the db. Please help me in this!

A: 

Yes, thats the confusion. Same syntax is working perfect when used via cmd. But when i use it in vb.net, its restoring nothing.

phoenix