Jump to content

Recommended Posts

Hi folks,

 

I have made a backup of a freinds sql database from the phpmyadmin console. He doesnt have a shell access at all as its a hosted server, when i try to upload or restore the data i get the following error

 

Fatal error: Maximum execution time of 300 seconds exceeded in /usr/local/cpanel/base/3rdparty/phpMyAdmin/libraries/read_dump.lib.php

 

 

From what i have read its because the backup.sql file is to big and some articles have advised to chop the file up and upload in chinks, well my question is,

 

can i just chop the file up or does the file need header information at the top of each file..... or is there a better way???

 

thanks

 

Paul

Link to comment
https://forums.phpfreaks.com/topic/1180-phpmyadmin-problem/
Share on other sites

  • 3 weeks later...

You might want to try this

 

set_time_limit ( int seconds)

 

 

Set the number of seconds a script is allowed to run. If this is reached, the script returns a fatal error. The default limit is 30 seconds or, if it exists, the max_execution_time value defined in the php.ini. If seconds is set to zero, no time limit is imposed.

Link to comment
https://forums.phpfreaks.com/topic/1180-phpmyadmin-problem/#findComment-4416
Share on other sites

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.