Hello.


Try --complete-insert command line option for mysqldump. See:

  http://dev.mysql.com/doc/mysql/en/mysqldump.html





[EMAIL PROTECTED] wrote:

> Hi,

> 

> I just tried to upgrade from mysql 3.23.57 (SPARC/Solaris) to 4.1.9 
> (i386/Linux) using mysqldump but when importing the dump on the new machine 
> mysql gives the error:

> 

> ERROR 1136 (21S01) at line NNN: Column count doesn't match value count at row 
> 1

> 

> and in line NNN you find

> 

> INSERT INTO `db` VALUES 
> ('localhost','dbxxx','','Y','Y','Y','Y','Y','Y','N','Y','Y','Y'),...

> 

> so he is right. The table 'db' has more entries in 4.1.9 than in 3.23.57! But 
> what is the correct way to upgrade? (NO! It is not possible for me to upgrade 
> directly on the 3.23.57 machine!)

> 

> MANY thanx in advance,

>      Frank

> 

> 

> 



-- 
For technical support contracts, goto https://order.mysql.com/?ref=ensita
This email is sponsored by Ensita.NET http://www.ensita.net/
   __  ___     ___ ____  __
  /  |/  /_ __/ __/ __ \/ /    Gleb Paharenko
 / /|_/ / // /\ \/ /_/ / /__   [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]

Reply via email to