Results 1 to 6 of 6

 

Thread: Timeout importing mysql backup?

  1. #1
    Registered User

    Status
    Offline
    Join Date
    Apr 2004
    Location
    UK
    Posts
    597
    Thanks
    12
    Thanked 9 Times in 9 Posts


    I'm trying to import a backup of mysql into phpmyadmin and the file is about 1.7MB, I'm getting this error message

    Code:
    Fatal error: Maximum execution time of 300 seconds exceeded in /usr/local/cpanel/base/3rdparty/phpMyAdmin/libraries/import/sql.php on line 124
    Anyone know how to increase the time before it times out?

    Cheers!
    Matt

  2. #2
    buy.at tech

    Status
    Offline
    Join Date
    Jul 2008
    Posts
    64
    Thanks
    1
    Thanked 11 Times in 11 Posts
    You can set $cfg['ExecTimeLimit'] in config.inc.php to zero which should mean it will never time out.

    PHP Code:
    $cfg['ExecTimeLimit']  = 0
    Ian Sproates, Head of Development (Newcastle), buy.at
    tel: +44 (0)191 222 9728 | email: ian.sproates@buy.at | icq: 490-111-853 | msn: sproates@hotmail.com

  3. #3
    Registered User

    Status
    Offline
    Join Date
    Apr 2004
    Location
    UK
    Posts
    597
    Thanks
    12
    Thanked 9 Times in 9 Posts
    Thanks for the quick reply, Where would i find that?

  4. #4
    ian
    Registered User

    Status
    Offline
    Join Date
    Nov 2004
    Posts
    1,045
    Thanks
    30
    Thanked 106 Times in 80 Posts
    you should be able to do it in ssh

    ssh mysql import - Google Search

  5. #5
    buy.at tech

    Status
    Offline
    Join Date
    Jul 2008
    Posts
    64
    Thanks
    1
    Thanked 11 Times in 11 Posts
    Quote Originally Posted by Matt Seigneur View Post
    Thanks for the quick reply, Where would i find that?
    In the config.inc.php file, which is in the directory where phpmyadmin lives.
    Ian Sproates, Head of Development (Newcastle), buy.at
    tel: +44 (0)191 222 9728 | email: ian.sproates@buy.at | icq: 490-111-853 | msn: sproates@hotmail.com

  6. #6
    Registered User

    Status
    Offline
    Join Date
    Apr 2004
    Location
    UK
    Posts
    597
    Thanks
    12
    Thanked 9 Times in 9 Posts
    That's great thanks v much! :tup



Thread Information

Users Browsing this Thread

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

Similar Threads

  1. How to backup your mysql based site using CRON in cpanel
    By Kandevil in forum Web Hosting & Security
    Replies: 11
    Last Post: 15-06-08, 05:59 PM
  2. Backup, Secure and Backup
    By Aspire in forum Programming
    Replies: 2
    Last Post: 02-08-07, 02:26 PM
  3. timeout
    By gunneradt in forum Affiliate Window & buy.at
    Replies: 3
    Last Post: 02-02-07, 05:27 PM
  4. How to backup your MYSQL Database
    By Northern Monkey in forum Programming
    Replies: 11
    Last Post: 24-10-06, 09:18 PM
  5. PHP or Browser Timeout?
    By Barry in forum Programming
    Replies: 6
    Last Post: 28-04-04, 01:04 PM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
To Top

Content Relevant URLs by vBSEO 3.5.0 RC2