Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Exporting from MySQL
Message
De
20/03/2007 02:10:36
 
 
À
18/03/2007 22:40:40
Mike Smith
Doncaster Office Services
Oakville, Ontario, Canada
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Versions des environnements
Visual FoxPro:
VFP 8
OS:
Windows 2000 SP4
Network:
Windows 2000 Pro
Database:
MS SQL Server
Divers
Thread ID:
01205341
Message ID:
01205963
Vues:
16
>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.
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform