I've tried to make a Gambas front end for a mysql restore.
Instead of running code in a terminal I want to use the EXEC function in
Gambas.
This code works in terminal:-

mysql -u root -pmypassword archive <
/home/bill/GambasFolder/mysql/BackUpOfarchive.sql

But when this code is run from Gambas:-

Exec ["mysql", "-u", "root", "-pmypassword", txbDbName.Text, "<",
FileChooser1.Value]

nothing happens, the result shown in the Gambas terminal indicates that the
EXEC function failed.

Is there a way to see exactly what instructions were passed to mysql through
the EXEC call?




--
View this message in context: 
http://gambas.8142.n7.nabble.com/EXEC-output-advice-needed-tp40855.html
Sent from the gambas-user mailing list archive at Nabble.com.

------------------------------------------------------------------------------
Master Visual Studio, SharePoint, SQL, ASP.NET, C# 2012, HTML5, CSS,
MVC, Windows 8 Apps, JavaScript and much more. Keep your skills current
with LearnDevNow - 3,200 step-by-step video tutorials by Microsoft
MVPs and experts. ON SALE this month only -- learn more at:
http://p.sf.net/sfu/learnnow-d2d
_______________________________________________
Gambas-user mailing list
Gambas-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gambas-user

Reply via email to