+ Auf Thema antworten
Ergebnis 1 bis 3 von 3

Thema: MySQL - DB zu groß? (phpmyadmin)

  1. #1

    MySQL - DB zu groß? (phpmyadmin)

    Moin.
    Also ich hab foglendes Problem:
    Musste letztens die komplette DB unseres Stufenforums löschen. Eigentlich kein Problem, man hat ja mitgedacht und nen Backup gemacht. Die exportierte *.sql Datei hat nun ne größe von ~7,8 MB. Man kann zwar bei phpmyadmin SQL-Befehle aus einer *.sql Datei einlesen, allerdings ist die Größe auf 2 MB beschränkt.
    Also meine Frage nun: Wie krieg ich meine DB wieder online? Hab nämlich keine Lust mehrere tausend Zeilen SQL Code einzugeben, und bei copy&paste reagiert mein PC nicht mehr und ich muss ihn neu starten.
    mfg

  2. Nach oben    #2

    aus wer wills wissen?
    132 Beiträge seit 05/2004
    wenn du eine möglichkeit hast direkt an den Server zu kommen (SSH, VNC, lokale Konsole) kannst du entweder mit dem Kommandozeilen-Client von MySQL die SQl-Datei neu einlesen oder mit dem MySQL-Administrator. anderenfalls, müsste es doch möglich sein das Grössenlimit von PHPMyAdmin zu verändern=raufzusetzen.

    edit:
    Zitat Zitat von PHPMyAdmin-FAQ Punkt 1.16
    I cannot upload big dump files (memory, http or timeout problems).

    The first things to check (or ask your host provider to check) are the values of upload_max_filesize, memory_limit and post_max_size in the php.ini configuration file. All of these three settings limit the maximum size of data that can be submitted and handled by PHP. One user also said that post_max_size and memory_limit need to be larger than upload_max_filesize.

    There exist several workarounds if your upload is too big or your hosting provider is unwilling to change the settings:

    Look at the $cfg['UploadDir'] feature. This allows one to upload a file to the server via scp, ftp, or your favorite file transfer method. PhpMyAdmin is then able to import the files from the temporary directory. More information is available in the Configuration section of this document.

    Using a utility (such as BigDump) to split the files before uploading. We cannot support this or any third party applications, but are aware of users having success with it.

    If you have shell (command line) access, use MySQL to import the files directly. You can do this by issuing the "source" command from within MySQL: source filename.sql.

  3. Nach oben    #3

    39 Jahre alt
    aus gedrückte Pickel schmecken nach Eiter
    331 Beiträge seit 12/2002
    meistens liegt die uploadbegrenzung nicht an mysql, sondern an den einstellungen in der php.ini. und die kann man auf den meisten servern nicht editieren. wenn das der fall ist, bleibt nichts anderes übrig als den dump in mehrere, höchstens 2 mb große dateien aufzuteilen und separat hochzuladen.

+ Auf Thema antworten

Ähnliche Themen

  1. Antworten: 4
    Letzter Beitrag: 05.08.2004, 14:43

Lesezeichen für MySQL - DB zu groß? (phpmyadmin)

Lesezeichen