Results 1 to 4 of 4
  1. #1
    Join Date
    Mar 2007
    Location
    Cornwall - uk
    Posts
    464
    Plugin Contributions
    0

    Default how to upload a very large sql backup file?

    i need to upload a backup but i cant work out how to do it. ive gone into phpmyadmin and tried to import the saved sql file but it says its too big. What other way can i do it?

    thanks

  2. #2
    Join Date
    Aug 2005
    Location
    United Kingdom
    Posts
    457
    Plugin Contributions
    0

    Default Re: how to upload an sql backup file

    How big is it?

    Does it have the extension .SQL as you might be able to break the file up for uploading

    Rob

  3. #3
    Join Date
    May 2010
    Posts
    44
    Plugin Contributions
    0

    Default Re: how to upload a very large sql backup file?

    You can increase the allowed size either globally or locally in your php.ini file

    post_max_size = 8M
    upload_max_filesize = 2M

    OR

    If you have command line access, you can upload the sql file via ftp, then run this command from your prompt
    mysql -u myuser -p mydatabase < myfile.sql

  4. #4
    Join Date
    Oct 2006
    Location
    Alberta, Canada
    Posts
    4,571
    Plugin Contributions
    1

    Default Re: how to upload a very large sql backup file?

    Contact your Hoster. They should be willing to help with this type situation.

 

 

Similar Threads

  1. v151 sql upload will not work for 1 file
    By shags38 in forum General Questions
    Replies: 7
    Last Post: 28 Feb 2015, 11:12 AM
  2. I have a very large error log file but I dont know what these errors mean
    By sportrecovery in forum Managing Customers and Orders
    Replies: 10
    Last Post: 7 Jul 2010, 04:15 AM
  3. SQL dump file upload PROBLEM!!
    By alwahsh14 in forum Templates, Stylesheets, Page Layout
    Replies: 2
    Last Post: 26 Sep 2007, 08:59 PM
  4. How do i upload an old saved .sql file to DB
    By paulFromWales in forum General Questions
    Replies: 0
    Last Post: 28 Oct 2006, 11:40 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
  •  
disjunctive-egg