[Gambas-user] import mysql dump

Werner wdahn at ...1000...
Mon Dec 15 16:03:34 CET 2008


wig wrote:
> Although I can create table by table from within Gambas with
> hCon.Databases.Add(sDbName), I wondered if there is a way to "import" a
> mysql dump file, so that I can create the tables with data (in one
> command).
>
> Untill now I allways used phpMyAdmin dump/export and import for creating
> the database structure and initial data, but I want to integrate it in my
> Gambas application.
>
>
>
>
> ------------------------------------------------------------------------------
> SF.Net email is Sponsored by MIX09, March 18-20, 2009 in Las Vegas, Nevada.
> The future of the web can't happen without you.  Join us at MIX09 to help
> pave the way to the Next Web now. Learn more and register at
> http://ad.doubleclick.net/clk;208669438;13503038;i?http://2009.visitmix.com/
> _______________________________________________
> Gambas-user mailing list
> Gambas-user at lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/gambas-user
>
>   
You could use the EXEC command to run the appropriate mysqlsomething
utility (don't recall which)

Regards
Werner





More information about the User mailing list