phpMyAdmin Error - Script Timeout

Discussion in 'Databases' started by LindseyInteractive, Sep 20, 2013.

  1. #1
    Hello,

    I keep getting the following error when uploading a 12mb SQL file into our database:

    So I tried to continue uploading it and then i get the following error:

    So, I have went into my WHM since it is a VPS and set the upload_max_filesize to 25mb and max_execution_ time to 1000 yet i am still getting the errors. SOmeone please help.
     
    LindseyInteractive, Sep 20, 2013 IP
  2. Dajon

    Dajon Member

    Messages:
    43
    Likes Received:
    5
    Best Answers:
    0
    Trophy Points:
    43
    #2
    Check this:
    http://stackoverflow.com/questions/3302476/mysql-1050-error-table-already-exists-when-in-fact-it-does-not
    Code (markup):
     
    Dajon, Sep 20, 2013 IP
  3. LindseyInteractive

    LindseyInteractive Well-Known Member

    Messages:
    2,830
    Likes Received:
    62
    Best Answers:
    0
    Trophy Points:
    175
    #3
    This is not the answer, as it is timing out, the timing out is the issue.
     
    LindseyInteractive, Sep 21, 2013 IP
  4. fehtrar

    fehtrar Active Member

    Messages:
    11
    Likes Received:
    2
    Best Answers:
    1
    Trophy Points:
    80
    #4
    Use bigdump or something other than phpmyadmin to import large sql file
     
    fehtrar, Sep 21, 2013 IP
  5. Dajon

    Dajon Member

    Messages:
    43
    Likes Received:
    5
    Best Answers:
    0
    Trophy Points:
    43
    #5
    Sorry,i just see >> #1050 - Table 'wp_commentmeta' already exists
    to import large sql files,use "bigdump" or "SQLDumpSplitter2".
     
    Dajon, Sep 21, 2013 IP
  6. TheDataPlanet.com

    TheDataPlanet.com Well-Known Member

    Messages:
    503
    Likes Received:
    7
    Best Answers:
    0
    Trophy Points:
    108
    #6
    For large and very large SQL dumps, the best approach is to log in your server via SSH and directly import it in the database by this command line after uploading the file via FTP:

    mysql -h localhost -u db_user -p db_name < sql_file.sql
    Code (markup):
    And enter the db_user password when it prompts you. It will then start importing sql_file.sql into the db_name database.
     
    TheDataPlanet.com, Sep 23, 2013 IP