MySQL Forums
Forum List  »  French

Erreur d'éxécution script
Posted by: Boris Nogues
Date: October 13, 2007 11:08AM

bonjour

en lancant ce batch ma_cmd.bat qui contient :
mysql -u root -pmy_pwd -h localhost -D ma_bdd < mon_script.sql

mon_script.sql contient :
truncate table ma_table;
insert into ma_table (etc...

il me génère une erreur à la 1ere ligne :
Error 1064 at line 1... you have an error in your sql syntax...
to use near ╗┐truncate... --> les 2 caractères ╗┐ sont bien pésents !!

j'utilise la dernière version 5 de la version community ainsi que win xp pro sp2

quel est le pb ?

Options: ReplyQuote


Subject
Views
Written By
Posted
Erreur d'éxécution script
5738
October 13, 2007 11:08AM
3794
October 13, 2007 02:07PM


Sorry, you can't reply to this topic. It has been closed.

Content reproduced on this site is the property of the respective copyright holders. It is not reviewed in advance by Oracle and does not necessarily represent the opinion of Oracle or any other party.