[MYSQL]Hab ein Problem und brauche Hilfe

booy

www.BonusBude.de
ID: 145787
L
25 April 2006
1.231
65
Hallo,
Ich habe mir letztens eine Datenbank von einem Script zuschicken lassen.
Das Script lief mal, dadrin war ein Forum, welches auch lief, das phpbb.
Jetzt wollte ich die Seite nochmal zum laufen bringen doch wenn ich die Datenbank
hochlade kommt folgender Fehler:

Code:
SQL-Befehl:

-- phpMyAdmin SQL Dump
-- version 2.10.0
-- https://www.phpmyadmin.net
-- 
-- Host: localhost
-- Erstellungszeit: 30. Mai 2007 um 16:50
-- Server Version: 4.1.22
-- PHP-Version: 4.4.6
-- 
-- Datenbank: `xxx`
-- 
-- --------------------------------------------------------
-- 
-- Tabellenstruktur für Tabelle `phpbb_auth_access`
-- 
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" )
);

MySQL meldet: Dokumentation
#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 '"phpbb_auth_access" (
  "group_id" mediumint(8) NOT NULL default '0',
  "forum_i' at line 1

Also es sieht schwer nach einem Forum-Fehler aus.
Da das Forum ncht wirklich wichtig ist, bräuchte ich es auch erstmal nicht.
Wichtiger ist das Script, doch die db lädt er auch nicht hoch.
Vielleicht kann mir ja einer dabei helfen, denke das es reichen müsste aus der
db den Forum-Teil rauszulöschen, oder ?

lg
booy
 
ersetz mal die " mit `

also in jeder zeile anstatt:
"group_id" mediumint( 8 ) NOT NULL default '0',


CREATE TABLE `phpbb_auth_access` (
`group_id` mediumint( 8 ) NOT NULL default '0',


und das nächste mal wenn datenbank exportierst, probiers mal mit nem häkchen vor: "Tabellen- und Feldnamen in einfachen Anführungszeichen"

hoffe hat dir geholfen

und wenn in der datei alles rauslöschst, was mit phpbb zu tun hat, bzw. dir halt die struktur vom skript raussuchst, kannst die auch ohne forum importieren.