Ähnliches Problem:
Wir haben unter PHP5 und MySQL 4 ein phpbb2 am laufen. Nun wollte ich davon zum testen ein Mirror auf einem anderen Webspace mit PHP4 und MySQL 4 testen.
Ich hab mit phpMyAdmin in eine SQL-Datei exportiert und dann per Bigdump.php (0.21b) probiert das ganze auf dem anderen Webspace einzuspielen. Leider bricht er schon bei den oberen Zeilen ab.
Code: Alles auswählen
Processing file: forum31.08.sql
Starting at the line: 1
Error at the line 36: ) ENGINE=MyISAM DEFAULT CHARSET=latin1;
Query: CREATE TABLE `phpbb_auth_access` ( `group_id` mediumint(8) NOT NULL default '0', `forum_id` smallint(5) unsigned NOT NULL default '0', `auth_view` tinyint(1) NOT NULL default '0', `auth_read` tinyint(1) NOT NULL default '0', `auth_post` tinyint(1) NOT NULL default '0', `auth_reply` tinyint(1) NOT NULL default '0', `auth_edit` tinyint(1) NOT NULL default '0', `auth_delete` tinyint(1) NOT NULL default '0', `auth_sticky` tinyint(1) NOT NULL default '0', `auth_announce` tinyint(1) NOT NULL default '0', `auth_vote` tinyint(1) NOT NULL default '0', `auth_pollcreate` tinyint(1) NOT NULL default '0', `auth_attachments` tinyint(1) NOT NULL default '0', `auth_mod` tinyint(1) NOT NULL default '0', KEY `group_id` (`group_id`), KEY `forum_id` (`forum_id`) ) ENGINE=MyISAM DEFAULT CHARSET=latin1;
MySQL: You have an error in your SQL syntax. Check the manual that corresponds to your MySQL server version for the right syntax to use near 'ENGINE=MyISAM DEFAULT CHARSET=latin1' at line 18
Stopped on error
Wenn ich die Zeile
lösche hält er kurz danach bei einem einfachen INSERT an. Ich will wetten ich könnte das spiel dann so weitertreiben. Ich hab das gefühl der kommt mit der Syntax nicht klar.
Ist da was beim exportieren falsch gelaufen oder liegt es an den unterschiedlichen php-Versionen