It works like a charme with the -Q option Thank you
Gael Victoria Reznichenko <[EMAIL PROTECTED]> wrote on 23/04/2004 11.26.01: > [EMAIL PROTECTED] wrote: > > > > I performed the backup (mysqldump -u username -p db > backup.sql) of a > > database on a Win32 (4.0.15-max-debug) server in order to restore it on > > Linux server (4.0.15-9) > > When I try to restore it on the linux machine (with mysql -u username -p > > db < backup.sql), there is an error saying: > > ERROR 1064 at line 12748: 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 'Order tinyint(4) default NULL > > ) TYPE=MyISAM' at line 6 > > > > I searched the mailing list but nothing seems to apply to my case. > > The database has been created with the same name, cmsdb, which has no > > special characters > > > > ORDER is a reserved word in MySQL: > http://dev.mysql.com/doc/mysql/en/Reserved_words.html > > Use -Q (--quote-names) option of mysqldump. > > > -- > For technical support contracts, goto https://order.mysql.com/?ref=ensita > This email is sponsored by Ensita.net http://www.ensita.net/ > __ ___ ___ ____ __ > / |/ /_ __/ __/ __ \/ / Victoria Reznichenko > / /|_/ / // /\ \/ /_/ / /__ [EMAIL PROTECTED] > /_/ /_/\_, /___/\___\_\___/ MySQL AB / Ensita.net > <___/ www.mysql.com > > > > > > -- > MySQL General Mailing List > For list archives: http://lists.mysql.com/mysql > To unsubscribe: http://lists.mysql.com/[EMAIL PROTECTED] >