I had the same problem.
It occurs when you try to load (3.23.51 or higher) dump file to lower
version of MySQL.

Look at this line...
> /*!40000 ALTER TABLE mobile_dev DISABLE KEYS */;
As soon as version is not equal 40000 everything in comments will be
deleted.
So we have
> ;
empty query.

Mikhail.

----- Original Message -----
From: "Victoria Reznichenko" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Wednesday, August 14, 2002 4:32 PM
Subject: Re: problem with mysqldump


> jan,
> Tuesday, August 13, 2002, 12:34:23 PM, you wrote:
>
> jb> Hello i got a problem with mysqldump,
> jb>  i'm forced to dump it to to place the database on a new laptop
>
>
> jb>  mysql -u root -p hardwaredb < hardwaredbbackup.sql
> jb> Enter password:
> jb> ERROR 1065 at line 25: Query was empty
>
>
> jb> and the corresponding line:
>
> jb> ) TYPE=MyISAM;
>
> jb> 25: /*!40000 ALTER TABLE mobile_dev DISABLE KEYS */;
>
> jb> what may i do to correct it, to dump the database?
>
> What is the version of your MySQL server?
>
>
>
>
> --
> 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
>
>
>
>
> ---------------------------------------------------------------------
> Before posting, please check:
>    http://www.mysql.com/manual.php   (the manual)
>    http://lists.mysql.com/           (the list archive)
>
> To request this thread, e-mail <[EMAIL PROTECTED]>
> To unsubscribe, e-mail
<[EMAIL PROTECTED]>
> Trouble unsubscribing? Try: http://lists.mysql.com/php/unsubscribe.php
>


---------------------------------------------------------------------
Before posting, please check:
   http://www.mysql.com/manual.php   (the manual)
   http://lists.mysql.com/           (the list archive)

To request this thread, e-mail <[EMAIL PROTECTED]>
To unsubscribe, e-mail <[EMAIL PROTECTED]>
Trouble unsubscribing? Try: http://lists.mysql.com/php/unsubscribe.php

Reply via email to