Verfasst: 14.03.2004 02:24
Probiere es mal damit:
KB:bigdump
oder der Re-Import von
KB:db_export
KB:bigdump
oder der Re-Import von
KB:db_export
phpBB.de - Die deutsche phpBB-Community
https://www.phpbb.de/community/
Kannst Du mir sagen, was das bedeutet?BigDump: Staggered MySQL Dump Importer ver. 0.17b
Processing file: dump.sql
Starting at the line: 1
Error at the line 184: ) TYPE=MyISAM;
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', auth_download tinyint(1) NOT NULL default '0', KEY group_id (group_id), KEY forum_id (forum_id) ) TYPE=MyISAM;
MySQL: Table 'phpbb_auth_access' already exists
Stopped on error
ganz genau - hab´s eben selbst gemerkt - die alte Datenbank gleichen namens gelöscht und dann nochmal versucht - funzt 100%igNico Haase hat geschrieben:ganz einfach: die tabelle phpbb_auth_access existiert schon. du musst, wenn du deine tabellen irgendwo wieder reinhaust, die alten erst löschen bzw. einen "if not exists {tabellenname}"-vergleich vor jedem create-befehl einfügen. dann wird nur versucht, die tabelle zu erstellen, wenn sie nicht existiert.
Code: Alles auswählen
<?php
system("/opt/lampp/bin/mysql -uadmin -ptest -h localhost phpbb < /opt/lampp/htdocs/dbimport/dump.sql", $fp);
if ($fp==0) echo "Daten importiert"; else echo "Es ist ein Fehler aufgetreten";
?>