Seite 1 von 1

Kann Datenbank nicht importieren

Verfasst: 15.05.2004 16:28
von Ector
HAllo

Ich habe ein problem. ich habe mein baord von lycos auf einen privaten server gelegt. und jetzt wollte ich die datenbank importieren. das geht aber nicht weil, sie zu groß ist. dann hat mir ein freund gesagt, ich soll die einzelnen tabellen in text dateien schreiben udn dann als text datei importieren. allerdings schriebt er dann die ganzen eintraege in phpbb_words. was mache ich falsch??

hoffe das ihr mir helfen könnt.

Verfasst: 15.05.2004 16:39
von Christian_W

Code: Alles auswählen

DROP TABLE IF EXISTS `phpbb_auth_access`;  <= hier wird die Tabelle gelöscht falls es sie schon gibt.
CREATE TABLE `phpbb_auth_access` (  <= hier wird die Tabelle erstellt -Anfang-
  `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`)
) TYPE=MyISAM;   <= hier wird die Tabelle erstellt -Ende-

-- 
-- Daten für Tabelle `phpbb_auth_access`
--  hier werden die Tabelle und die einzufügenden Werte angegeben 

INSERT INTO `phpbb_auth_access` VALUES (4, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1);
INSERT INTO `phpbb_auth_access` VALUES (4, 3, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1);
INSERT INTO `phpbb_auth_access` VALUES (4, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1);
Falls das bei Dir anders aussieht mach das Backup nochmal bzw. wähle vor dem Importieren die richtige Tabelle aus.

Gruß Christian

Verfasst: 16.05.2004 11:59
von Ector
also die datenban hab ich jetzt wieder drauf aber jetzt kommt immer das wenn ich mein forum oeffne:

Could not query announcements information

DEBUG MODE

SQL Error : 1064 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 ') AND t.topic_time <= 1084701570 AND t.topic_poster =

SELECT t.topic_id, t.topic_time, t.topic_title, pt.post_text, u.username, u.user_id, t.topic_replies, pt.bbcode_uid, t.forum_id, t.topic_poster, t.topic_first_post_id, t.topic_status, pt.post_id, p.post_id, p.enable_smilies FROM phpbb_topics AS t, phpbb_users AS u, phpbb_posts_text AS pt, phpbb_posts AS p WHERE t.forum_id IN () AND t.topic_time <= 1084701570 AND t.topic_poster = u.user_id AND t.topic_first_post_id = pt.post_id AND t.topic_first_post_id = p.post_id AND t.topic_status <> 2 ORDER BY t.topic_time DESC

Line : 86
File : /home/www/web51/html/board/fetchposts.php

Verfasst: 16.05.2004 17:21
von derd
Hallo,

ich habe auch das Problem gehabt die Datenbank wieder einzuspielen. Ich habe dann http://www.phpbb.de/doku/kb/artikel.php ... ht=bigdump genommen und es ging wunderbar versuch das mal. Beachte das du die alte Datenbank richtig sicherst.

Bye derd

Verfasst: 17.05.2004 17:24
von Ector
JO cool danke. dann muss mein baord also doch nicht ganz von vorne afangen.....

Verfasst: 17.05.2004 17:36
von derd
Moin,

sag mal ob es gefunzt hat und ob dein Forum wieder ganz geht würde mich mal interessieren :D

Bye derd