phpMyAdmin Problem bei Import

  • Hi Zusammen
    ich habe ein Problem beim Exportieren / Importieren.
    Ich will eine Datenbank exportieren.
    Bei der alten Datenbank wähle ich meine Datenbank aus "usr_web397_1" gehen auf exportieren.
    Art des Exports ist "Schnell - nur notwendige Optionen anzeigen, Format SQL un OK.
    Soweit klappt alles.

    Jetzt kommt mein Problem beim importieren in meine neue Datenbank "XYZ".
    Zu importierende Datei, hier wähle ich Durchsuchen auf meinem Computer aus
    wähle meine Datei aus "datenbank.sql" Häckchen bei "Auto_Increment nicht für Nullwerte verwenden
    und bekomme diese Fehlermeldung:

    Danke für eure Hilfe

    [h=1]Fehler[/h][COLOR=#000000][FONT=sans-serif]SQL-Befehl:[/FONT][/COLOR]
    [COLOR=#000000][FONT=sans-serif][FONT=Verdana][COLOR=#808000]--[/COLOR]
    [COLOR=#808000]-- Datenbank: `usr_web397_1`[/COLOR]
    [COLOR=#808000]--[/COLOR]
    [COLOR=#808000]-- --------------------------------------------------------[/COLOR]
    [COLOR=#808000]--[/COLOR]
    [COLOR=#808000]-- Tabellenstruktur für Tabelle `wp_bwg_album`[/COLOR]
    [COLOR=#808000]--[/COLOR]
    [COLOR=#990099]CREATE[/COLOR] [COLOR=#990099]TABLE[/COLOR] [COLOR=#990099]IF[/COLOR] [COLOR=#990099]NOT[/COLOR] [COLOR=#990099]EXISTS[/COLOR] [COLOR=#008000]`wp_bwg_album`[/COLOR] [COLOR=fuchsia]([/COLOR][/FONT][/FONT][/COLOR]
    [COLOR=#000000][FONT=sans-serif][COLOR=#008000]`id`[/COLOR] [COLOR=#FF9900]BIGINT[/COLOR][COLOR=fuchsia]([/COLOR] [COLOR=teal]20[/COLOR] [COLOR=fuchsia])[/COLOR] [COLOR=#990099]NOT[/COLOR] [COLOR=#990099]NULL[/COLOR] [COLOR=#990099]AUTO_INCREMENT[/COLOR] [COLOR=fuchsia],[/COLOR]
    [COLOR=#008000]`name`[/COLOR] [COLOR=#FF9900]VARCHAR[/COLOR][COLOR=fuchsia]([/COLOR] [COLOR=teal]255[/COLOR] [COLOR=fuchsia])[/COLOR] [COLOR=#990099]NOT[/COLOR] [COLOR=#990099]NULL[/COLOR] [COLOR=fuchsia],[/COLOR]
    [COLOR=#008000]`slug`[/COLOR] [COLOR=#FF9900]VARCHAR[/COLOR][COLOR=fuchsia]([/COLOR] [COLOR=teal]255[/COLOR] [COLOR=fuchsia])[/COLOR] [COLOR=#990099]NOT[/COLOR] [COLOR=#990099]NULL[/COLOR] [COLOR=fuchsia],[/COLOR]
    [COLOR=#008000]`description`[/COLOR] [COLOR=#FF9900]MEDIUMTEXT[/COLOR] [COLOR=#990099]NOT[/COLOR] [COLOR=#990099]NULL[/COLOR] [COLOR=fuchsia],[/COLOR]
    [COLOR=#008000]`preview_image`[/COLOR] [COLOR=#FF9900]MEDIUMTEXT[/COLOR] [COLOR=#990099]NOT[/COLOR] [COLOR=#990099]NULL[/COLOR] [COLOR=fuchsia],[/COLOR]
    [COLOR=#008000]`random_preview_image`[/COLOR] [COLOR=#FF9900]MEDIUMTEXT[/COLOR] [COLOR=#990099]NOT[/COLOR] [COLOR=#990099]NULL[/COLOR] [COLOR=fuchsia],[/COLOR]
    [COLOR=#008000]`order`[/COLOR] [COLOR=#FF9900]BIGINT[/COLOR][COLOR=fuchsia]([/COLOR] [COLOR=teal]20[/COLOR] [COLOR=fuchsia])[/COLOR] [COLOR=#990099]NOT[/COLOR] [COLOR=#990099]NULL[/COLOR] [COLOR=fuchsia],[/COLOR]
    [COLOR=#008000]`author`[/COLOR] [COLOR=#FF9900]BIGINT[/COLOR][COLOR=fuchsia]([/COLOR] [COLOR=teal]20[/COLOR] [COLOR=fuchsia])[/COLOR] [COLOR=#990099]NOT[/COLOR] [COLOR=#990099]NULL[/COLOR] [COLOR=fuchsia],[/COLOR]
    [COLOR=#008000]`published`[/COLOR] [COLOR=#FF9900]TINYINT[/COLOR][COLOR=fuchsia]([/COLOR] [COLOR=teal]1[/COLOR] [COLOR=fuchsia])[/COLOR] [COLOR=#990099]NOT[/COLOR] [COLOR=#990099]NULL[/COLOR] [COLOR=fuchsia],[/COLOR]
    [COLOR=#990099]PRIMARY[/COLOR] [COLOR=#990099]KEY[/COLOR] [COLOR=fuchsia]([/COLOR] [COLOR=#008000]`id`[/COLOR] [COLOR=fuchsia])[/COLOR][/FONT][/COLOR]
    [COLOR=fuchsia][FONT=sans-serif])[/FONT][/COLOR][COLOR=#000000][FONT=sans-serif] [/FONT][/COLOR][COLOR=#990099][FONT=sans-serif]ENGINE[/FONT][/COLOR][COLOR=#000000][FONT=sans-serif] [/FONT][/COLOR][COLOR=fuchsia]=[/COLOR][COLOR=#000000][FONT=sans-serif] [/FONT][/COLOR][COLOR=#990099][FONT=sans-serif]MYISAM[/FONT][/COLOR][COLOR=#000000][FONT=sans-serif] [/FONT][/COLOR][COLOR=#0000FF][FONT=sans-serif]DEFAULT[/FONT][/COLOR][COLOR=#000000][FONT=sans-serif] [/FONT][/COLOR][COLOR=#990099]CHARSET[/COLOR][COLOR=#000000][FONT=sans-serif] [/FONT][/COLOR][COLOR=fuchsia]=[/COLOR][COLOR=#000000][FONT=sans-serif] [/FONT][/COLOR][COLOR=#6495ED][FONT=sans-serif]utf8[/FONT][/COLOR][COLOR=#000000][FONT=sans-serif] [/FONT][/COLOR][COLOR=#990099][FONT=sans-serif]AUTO_INCREMENT[/FONT][/COLOR][COLOR=#000000][FONT=sans-serif] [/FONT][/COLOR][COLOR=fuchsia]=[/COLOR][COLOR=teal][FONT=sans-serif]1[/FONT][/COLOR][COLOR=fuchsia][FONT=sans-serif];[/FONT][/COLOR]

    [COLOR=#000000][FONT=sans-serif]MySQL meldet: [Blockierte Grafik: https://my.cyon.ch/cpsess4830203613/3rdparty/phpMyAdmin/themes/dot.gif][/FONT][/COLOR]
    #1046 - No database selected

    • Anzeige

    Hallo!

    Wenn du gerade an deiner Website arbeitest oder dein aktuelles Hosting überdenkst: Wir betreiben mit NetzLiving eine Hosting-Plattform, die speziell auf Performance, Sicherheit und einfache Verwaltung ausgelegt ist.

    • ✔️ Schnelle Ladezeiten (optimiert für WordPress & Co.)
    • ✔️ Deutsche Server & DSGVO-konform
    • ✔️ Persönlicher Support (kein 0815-Ticket-System)

    Mehr erfahren

  • #1046 - No database selected

    hast du denn zu erst deine neue DB ausgewählt und dann erst den Import gemacht?

    [size=10]Bitte immer zuerst die Forensuche nutzen und erst danach Deine Fragen hier im Forum stellen, denn sehr vieles wurde schon mehrfach beantwortet. Bitte dabei auch die Forenregeln beachten.
    Kein Support per PN - Fragen gehören ins Forum.[/SIZE]
    [size=8]Wenn du eine weise Antwort verlangst, musst du vernünftig fragen. (Johann Wolfgang von Goethe)[/SIZE]

  • ja das habe ich. Habs noch mal versucht. Jetzt kommt dieser Fehler:
    [h=1]Fehler[/h][COLOR=#000000][FONT=sans-serif]SQL-Befehl:[/FONT][/COLOR]
    [COLOR=#000000][FONT=sans-serif]-- -- Daten für Tabelle `wp_bwg_option` -- INSERT INTO `wp_bwg_option` (`id`, `images_directory`, `masonry`, `mosaic`, `resizable_mosaic`, `mosaic_total_width`, `image_column_number`, `images_per_page`, `thumb_width`, `thumb_height`, `upload_thumb_width`, `upload_thumb_height`, `image_enable_page`, `image_title_show_hover`, `album_column_number`, `albums_per_page`, `album_title_show_hover`, `album_thumb_width`, `album_thumb_height`, `album_enable_page`, `extended_album_height`, `extended_album_description_enable`, `image_browser_width`, `image_browser_title_enable`, `image_browser_description_enable`, `blog_style_width`, `blog_style_title_enable`, `blog_style_images_per_page`, `blog_style_enable_page`, `slideshow_type`, `slideshow_interval`, `slideshow_width`, `slideshow_height`, `slideshow_enable_autoplay`, `slideshow_enable_shuffle`, `slideshow_enable_ctrl`, `slideshow_enable_filmstrip`, `slideshow_filmstrip_height`, `slideshow_enable_title`, `slideshow_title_position`, `slidesho[...][/FONT][/COLOR]
    [COLOR=#000000][FONT=sans-serif]MySQL meldet: [Blockierte Grafik: https://my.cyon.ch/cpsess4830203613/3rdparty/phpMyAdmin/themes/dot.gif][/FONT][/COLOR]
    #1062 - Duplicate entry '1' for key 'PRIMARY'

  • Vielleicht ist es wichtig zu erwähnen das ich Wordpress neu installiert habe. Also in Kombination mit der neuen Datenbank. Bei einem neuen Provider

  • Habs noch mal versucht.
    ...
    #1062 - Duplicate entry

    hast du denn vorher alle wp-Tabelle gelöscht um anschließend erneut den Import zu starten?

    [size=10]Bitte immer zuerst die Forensuche nutzen und erst danach Deine Fragen hier im Forum stellen, denn sehr vieles wurde schon mehrfach beantwortet. Bitte dabei auch die Forenregeln beachten.
    Kein Support per PN - Fragen gehören ins Forum.[/SIZE]
    [size=8]Wenn du eine weise Antwort verlangst, musst du vernünftig fragen. (Johann Wolfgang von Goethe)[/SIZE]

  • Nei, das habe ich nicht :-( Kann ich das jetzt noch nachträglich machen? Also einfach alle WP leeren?
    Also z.B wp_bwg_album in der Zeile auf Leeren klicken usw.?

Jetzt mitmachen!

Sie haben noch kein Benutzerkonto auf unserer Seite? Registrieren Sie sich kostenlos und nehmen Sie an unserer Community teil!