Hello.
Try --complete-insert command line option for mysqldump. See:
http://dev.mysql.com/doc/mysql/en/mysqldump.html
user...@zerbrechlich.de 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