Matthew, ----- Original Message ----- From: <[EMAIL PROTECTED]> Newsgroups: mailing.database.mysql Sent: Wednesday, August 28, 2002 7:36 PM Subject: incorrect ordering of tables in mysqldump
> >Description: > innodb table types introduce dependancies on one table by another. > Thus the order of table loading is important. If a table is loaded > before one it depends on an error is triggered. a new SQL statement SET FOREIGN_KEY_CHECKS=0 in 3.23.52 and 4.0.3 solves this problem. You can import the dumps in any order if you execute this first in the import session. Best regards, Heikki Tuuri Innobase Oy --- InnoDB - transactions, hot backup, and foreign key support for MySQL See http://www.innodb.com, download MySQL-Max from http://www.mysql.com > mysqldump will dump tables in the wrong order, it seems to dump > tables sorted alphabetically. > >How-To-Repeat: > create some tables that depend on one another such that the > those that depend on others come before them in the alphabet. > >Fix: > either constrian the names so that they are ordered correctly > or edit the output in a text editor to put the tables in the > correct order > > > >Submitter-Id: [EMAIL PROTECTED] > >Originator: Matthew Carey > >Organization: System Simulation Ltd > >MySQL support: none > >Synopsis: incorrect ordering of tables in mysqldump > >Severity: non-critical > >Priority: low > >Category: mysql > >Class: sw-bug > >Release: mysql-3.23.52 (Official MySQL RPM) > >Server: /usr/bin/mysqladmin Ver 8.23 Distrib 3.23.52, for pc-linux-gnu on i686 > Copyright (C) 2000 MySQL AB & MySQL Finland AB & TCX DataKonsult AB > This software comes with ABSOLUTELY NO WARRANTY. This is free software, > and you are welcome to modify and redistribute it under the GPL license > > Server version 3.23.52-Max-log > Protocol version 10 > Connection Localhost via UNIX socket > UNIX socket /var/lib/mysql/mysql.sock > Uptime: 3 hours 33 min 10 sec > > Threads: 1 Questions: 12820 Slow queries: 0 Opens: 76 Flush tables: 1 Open tables: 10 Queries per second avg: 1.002 > >Environment: > > System: Linux demo.ssl.co.uk 2.4.7-10 #1 Thu Sep 6 16:46:36 EDT 2001 i686 unknown > Architecture: i686 > > Some paths: /usr/bin/perl /usr/bin/make /usr/bin/gmake /usr/bin/gcc /usr/bin/cc > GCC: Reading specs from /usr/lib/gcc-lib/i386-redhat-linux/2.96/specs > gcc version 2.96 20000731 (Red Hat Linux 7.1 2.96-98) > Compilation info: CC='gcc' CFLAGS='-O6 -fno-omit-frame-pointer -mpentium' CXX='gcc' '-O6 -fno-omit-frame-pointer -felide-constructors -fno-exceptions -fno-rtti -mpentium' LDFLAGS='' > LIBC: > lrwxrwxrwx 1 root root 13 Jul 16 15:44 /lib/libc.so.6 -> libc-2.2.4.so > -rwxr-xr-x 2 root root 5734740 Apr 2 17:44 /lib/libc-2.2.4.so > -rw-r--r-- 1 root root 27332668 Apr 2 17:42 /usr/lib/libc.a > -rw-r--r-- 1 root root 178 Apr 2 17:42 /usr/lib/libc.so > Configure command: ./configure --disable-shared --with-mysqld-ldflags=-all-static --with-client -ldflags=-all-static --with-other-libc=/usr/local/mysql-glibc --without-berk eley-db --without-innodb --enable-assembler --enable-local-infile --with-mys qld-user=mysql --with-unix-socket-path=/var/lib/mysql/mysql.sock --prefix=/ --with-extra-charsets=complex --exec-prefix=/usr --libexecdir=/usr/sbin --sy sconfdir=/etc --datadir=/usr/share --localstatedir=/var/lib/mysql --infodir= /usr/share/info --includedir=/usr/include --mandir=/usr/share/man '--with-comment=Official MySQL RPM' CC=gcc 'CFLAGS=-O6 -fno-omit-frame-pointer -mpentium' 'CXXFLAGS=-O6 -fno-omit-frame-pointer -felide-constructors -fno-ex ceptions -fno-rtti -mpentium' CXX=gcc > > > --------------------------------------------------------------------- > 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