Activity Stream
48,167 MEMBERS
6807 ONLINE
besthostingforums On YouTube Subscribe to our Newsletter besthostingforums On Twitter besthostingforums On Facebook besthostingforums On facebook groups

Results 1 to 4 of 4
  1.     
    #1
    Member

    Default problem while importing db via ssh

    hello guys

    i tried 4 times importing my db via ssh its 1gb one

    the memory load get higher and higher

    i see in phpmyadmin that 800 mb is done

    but after few min i get this



    and import stopped this happen 4 times guys what shall i do please
    chems Reviewed by chems on . problem while importing db via ssh hello guys i tried 4 times importing my db via ssh its 1gb one the memory load get higher and higher i see in phpmyadmin that 800 mb is done but after few min i get this Rating: 5
    Not Allowed

  2.   Sponsored Links

  3.     
    #2
    Member
    Import it via phpmyAdmin and make sure that this is checked:

    "Allow the interruption of an import in case the script detects it is close to the PHP timeout limit. This might be good way to import large files, however it can break transactions."
    What this does is if phpmyAdmin times out, you can simply select the same file to import and it will continue where it left off. Usually you need to use this method multiple times to import really large databases.

    If the above does not work, then try this in SSH.
    Code: 
    screen
    then enter your command to import the database.
    If you disconnect via timing out, just reconnect and type this:
    Code: 
    screen -r
    This will reconnect you to the previous screen session which will still be running, meaning the import will still be processing.
    This is the staff, you have been banned

  4.     
    #3
    Member
    -bash: screen: command not found
    Not Allowed

  5.     
    #4
    Member
    What's your OS?

    If it's CentOS, then
    Code: 
    sudo yum install screen
    If it's Debian, then
    Code: 
    sudo apt-get install screen
    This is the staff, you have been banned

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. Getting Error While Importing SQL DB
    By sSKKa in forum Technical Help Desk Support
    Replies: 5
    Last Post: 23rd Jun 2011, 09:31 PM
  2. Importing Site Map to Google
    By lib3rty1 in forum Web Application/Script Support
    Replies: 0
    Last Post: 23rd Feb 2011, 08:21 PM
  3. I Need Importing Help...IMPEX
    By Cooper in forum Community Cooperative
    Replies: 7
    Last Post: 21st Nov 2009, 08:24 PM
  4. importing 500mb sql file
    By Treznax in forum Webmaster Discussion
    Replies: 8
    Last Post: 5th Sep 2009, 08:37 AM
  5. Help Importing MyBB to vBulletin
    By Dark Shadow in forum vBulletin
    Replies: 12
    Last Post: 15th Jun 2008, 04:31 PM

Tags for this Thread

BE SOCIAL