Sergio,
Wednesday, July 24, 2002, 6:15:57 AM, you wrote:
SB> Im getting in trouble trying to restore a .sql dump generated with
SB> mysqldump for a database with lots of foreign keys because of the
SB> order of tables in the .sql. the first table already declares a
SB> FOREIGN KEY referencing a table not yet created, halting with a
SB> 'cant create blahblahblah'.
SB> (ERROR 1005 at line 11: Can't create table './sdb_teste/alertas.frm' (errno: 150))
SB> Any solutions to this problem?
According InnoDB manual using SET NO_FOREIGN_KEY_CHECKS=1, it will
come in 3.23.52:
http://www.innodb.com/ibman.html#InnoDB_history
--
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