MySQL Forums :: French :: Erreur d'éxécution script

Advanced Search

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


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 5697 Boris Nogues 10/13/2007 11:08AM
Re: Erreur d'éxécution script 3768 Jean Molliné 10/13/2007 02:07PM
RESOLU Re: Erreur d'éxécution script 2930 Boris Nogues 10/14/2007 03:02AM
Re: RESOLU Re: Erreur d'éxécution script 2911 Thomas CORBIERE 10/14/2007 11:37PM

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.