rss
Rechercher : dans
Par : Pertinence Date Nom d'utilisateur
Statut : Non résolu

Probleme script sql

  Posté par monaa, le lundi 25 juin 2007 à 12:07:58
bjr ,
Mon problême c'est au nivo de ce script qui permet normalement d'importer un fichier .csv vers mysql

le script est le suivant , je l'execute sur la console mysql de wamp :

LOAD DATA LOCAL INFILE 'C/wamp/www/base_near/auteur.csv'
INTO TABLE base_near.auteur
FIELDS TERMINATED BY ';'
LINES TERMINATED BY '\n'
(NomAuteur;idAuteur;Organisme);

je ne comprend pas les erreurs , tt est bien réspéctés pourtant

ERROR 1064 (42000): You have an error in your SQL syntax; check the manual that
corresponds to your MySQL server version for the right syntax to use near '' at
line 5
ERROR 1064 (42000): You have an error in your SQL syntax; check the manual that
corresponds to your MySQL server version for the right syntax to use near 'idAut
eur' at line 1
ERROR 1064 (42000): You have an error in your SQL syntax; check the manual that
corresponds to your MySQL server version for the right syntax to use near 'Organ
isme)' at line 1


sachant que
ma base que j'ai crée sous phpmyadmin s'apelle : base_near
ma table est : Auteur
mon fichier : auteur.csv

merçi a vs
bne journée
Configuration: Windows 2000
Firefox 1.5.0.12
Répondre à monaa  Signaler ce message aux modérateurs
Logiciels pertinents trouvés dans les téléchargements
Télécharger All In One Video Script 1.0All In One Video Script - All In One Video Script est un script pour l'extension GreaseMonkey pour le navigateur Firefox permettant de détecter la...Catégorie: Vidéo
Licence: Freeware/gratuit
Télécharger WAMP Server 2.0cWAMP Server - WAMP5 (WAMP signifiant Windows Apache Mysql PHP) est une plateforme de développement Web sous Windows. Il vous permet de...Catégorie: Serveurs
Licence: Freeware/gratuit
Télécharger GreaseMonkey 0.8.20080609.0GreaseMonkey - GreaseMonkey permet de bidouiller à la volée les pages web que vous consultez. C'est à dire qu'il va modifier la page...Catégorie: Extensions Firefox
Licence: Open Source
Télécharger Ghostscript Viewer 4.9Ghostscript Viewer - Le programme original pour visualiser les documents au format PostScript (fichiers portant l'extension . PS ). Il peut...Catégorie: Postscript (PS)
Licence: Open Source
Plus de logiciels gratuits sur « probleme script sql »