[Gambas-user] import mysql dump EXEC or SHELL?
Ron_1st
ronstk at ...239...
Tue Dec 16 17:20:14 CET 2008
On Tuesday 16 December 2008, wig wrote:
> sImport = "< " & Application.Path & "/mytables.sql"
>
> EXEC ["mysql", sUser, sPassword, sHost, sDatabase, sImport]
>
sImport = "< "
sSqlFile = Application.Path & "/mytables.sql"
EXEC ["mysql", sUser, sPassword, sHost, sDatabase, sImport, sSqlFile ]
Every item on the line for EXEC should be a seprate item in the array.
The "<" is a seperate item/part of the line, it has space on both adjacent sides!
Best regards
Ron_1st
More information about the User
mailing list