Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Run the commandline from VFP
Message
From
05/01/2011 13:54:17
 
General information
Forum:
Visual FoxPro
Category:
Other
Miscellaneous
Thread ID:
01494767
Message ID:
01494791
Views:
89
I guess you must change the directory first? Something like
lcOldDir=Fullpath(Curdir())
CD "C:\Program Files\MySQL\MySQL Server 5.1\bin\"
RUN mysqldump u myoffice pkompa mydata > data.sql
cd (lcOldDir)
>Try
>
>RUN "C:\Program Files\MySQL\MySQL Server 5.1\bin\mysqldump" u myoffice pkompa mydata > data.sql
>
>>
>
>>I'm using VFP with MySQL database.
>>
>>i want to run the backup from the app.
>>the command is:
>>
>>
>>cd C:\Program Files\MySQL\MySQL Server 5.1\bin
>>mysqldump –u myoffice –pkompa mydata > data.sql
>>
>>
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform