+ Reply to Thread
Results 1 to 6 of 6

Thread: Question about importing MySQL database into phpmyadmin

  1. #1
    mil1ion is offline x10Hosting Member mil1ion is an unknown quantity at this point
    Join Date
    Dec 2009
    Posts
    14

    Question about importing MySQL database into phpmyadmin

    This is a different question from my previous one. When you import a database into phpmyadmin does it have to be a text file, because when I export it on my other server I can just dump it all and then copy it into a text file, but it just keeps getting longer and longer and doesn't seem to stop and is massively huge. I also have the options of zipping, gzipping, or bzipping it, so that's why I ask. If I have no other option I might as well wait a while for it to completely dump and then copy it, but that takes a loooong time and is super big. So is there a way to import it when it is zipped?

  2. #2
    oraya68 is offline x10Hosting Member oraya68 is an unknown quantity at this point
    Join Date
    Dec 2009
    Location
    Beautiful Cornwall in England
    Posts
    27

    Re: Question about importing MySQL database into phpmyadmin

    No you can import a compressed file. Select import, locate the file and if it's a compressed file it will automatically be detected, unzip and import it.

    Kind regards,
    Oraya

  3. #3
    mil1ion is offline x10Hosting Member mil1ion is an unknown quantity at this point
    Join Date
    Dec 2009
    Posts
    14

    Re: Question about importing MySQL database into phpmyadmin

    I export it from my old server compressed in a zip, but then when I try to import it in x10 it gives me an error.

  4. #4
    Twinkie is offline Banned Twinkie is an unknown quantity at this point
    Join Date
    Sep 2007
    Location
    Ft. Lauderdale, Florida
    Posts
    1,389

    Re: Question about importing MySQL database into phpmyadmin

    It has to be a plain text file you are using when you attempt the import within PHPMyAdmin. For cases like this, why not write a PHP script to do the work for you?

  5. #5
    descalzo's Avatar
    descalzo is offline Grim Squeaker descalzo has a brilliant futuredescalzo has a brilliant futuredescalzo has a brilliant future
    Join Date
    Jul 2009
    Location
    Ankh-Morpork
    Posts
    7,636

    Re: Question about importing MySQL database into phpmyadmin

    From phpMyAdmin Import page...


    File to import
    Location of the text file (Max: 51,200 KiB)
    Character set of the file: armscii8 ascii big5 binary cp1250 cp1251 cp1256 cp1257 cp850 cp852 cp866 cp932 dec8 eucjpms euckr gb2312 gbk geostd8 greek hebrew hp8 keybcs2 koi8r koi8u latin1 latin2 latin5 latin7 macce macroman sjis swe7 tis620 ucs2 ujis utf8
    Imported file compression will be automatically detected from: None, gzip, zip
    So it seems to support importing compressed files.

    But it gives me

    Error in ZIP archive: CRC32 checksum is not equal with the value in header information.
    Which is interesting because it is a zip file that phpMyAdmin created 5 minutes before.

  6. #6
    mil1ion is offline x10Hosting Member mil1ion is an unknown quantity at this point
    Join Date
    Dec 2009
    Posts
    14

    Re: Question about importing MySQL database into phpmyadmin

    I actually got it to work, nevermind.

+ Reply to Thread

Similar Threads

  1. Replies: 5
    Last Post: 10-26-2009, 02:58 PM
  2. Replies: 2
    Last Post: 05-31-2009, 11:09 PM
  3. New Site-Suggestions?
    By mnoutside in forum Review My Site
    Replies: 9
    Last Post: 08-27-2008, 07:01 AM
  4. MySQL Issues Here
    By Corey in forum Service Alerts
    Replies: 304
    Last Post: 01-06-2008, 09:10 PM
  5. MYSQL Database - Need to remote access
    By auspiex in forum Free Hosting
    Replies: 1
    Last Post: 09-04-2007, 06:42 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
x10hosting free hosting for the masses
dedicated servers