Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Exporting from MySQL
Message
From
20/03/2007 02:10:36
 
 
To
18/03/2007 22:40:40
Mike Smith
Doncaster Office Services
Oakville, Ontario, Canada
General information
Forum:
Visual FoxPro
Category:
Other
Environment versions
Visual FoxPro:
VFP 8
OS:
Windows 2000 SP4
Network:
Windows 2000 Pro
Database:
MS SQL Server
Miscellaneous
Thread ID:
01205341
Message ID:
01205963
Views:
17
>I have a web site working fine with a MySQL Database but I am having great difficulty getting data out of it for processing in VFP.
>
>I developed a Remote View with ODBC which worked fine on my local host but it appears that there are security issues that prevent me from applying this technique to my public host. They have given me a very primitive interface which I would like to avoid if possible.
>
>I am only interested in one or the 6 tables. Is there anyway of exporting the data in a table from MySQL?
>


Select * from myTable INTO OUTFILE /some/silly/linux/path.txt
Check permissions to be sure you can write into your chosen dir.

you can see the syntax on MySQL.com
You have to specify the field delimiters and record delimiters.

Load Data Infile
and
Select into Outfile
are really awesome commands for bulk loading and bulk exporting.

ALSO
PhpMyAdmin will dump your entire database if it is more of a one time thing.
Previous
Reply
Map
View

Click here to load this message in the networking platform