PHP Web Host - Quality Web Hosting For All PHP Applications $35/month $250/year (Unlimited) - $25/month - 200,000 impressions - Your Ad Could be Here - Click For Details
  Login or Register
 • Home • Downloads • Your Account • Forums • 

View next topic
View previous topic


Google
 
Web RavenPHPScripts (This Site)
Post new topic   Reply to topic
Author Message
kwality
Client


Joined: Dec 12, 2003
Posts: 35

PostPosted: Tue Aug 03, 2004 2:47 pm Reply with quote Back to top

Hey guys. Its been a while.

Im trying to upload a .sql into a new database.

Now, it seems to be working fine, but it 'exceeds timelimit' and cancels out.

Is it possible to break it up into a few smaller files and do them each individually?

Or is there another way to upload this .sql file

Any help is greatly appreciated.
View user's profile Send private message
kwality
Client


Joined: Dec 12, 2003
Posts: 35

PostPosted: Tue Aug 03, 2004 3:20 pm Reply with quote Back to top

my MySQL is screwed up i think...

i've tried many diff files, nothings uploading...

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


i get that every time.
View user's profile Send private message
sixonetonoffun
Spouse Contemplates Divorce


Joined: Jan 02, 2003
Posts: 2499

PostPosted: Tue Aug 03, 2004 3:38 pm Reply with quote Back to top

Mines 300 secs too I use BigDump to read large sql files.
Only registered users can see links on this board!
Get registered or login to the forums!

Might take some trial and error to get things going but it does do the job.
View user's profile Send private message
kwality
Client


Joined: Dec 12, 2003
Posts: 35

PostPosted: Tue Aug 03, 2004 3:50 pm Reply with quote Back to top

seems awful confusing, but ill give it a go, thanks man
View user's profile Send private message
Raven
Site Admin/Owner


Joined: Aug 27, 2002
Posts: 16987
Location: Kansas

PostPosted: Tue Aug 03, 2004 7:25 pm Reply with quote Back to top

Your alternative is to break the file up (chunk it) and copy and paste maybe 5000 lines at a time into phpMyAdmin. Just ensure that you copy a complete line as the last line.
View user's profile Send private message Visit poster's website AIM Address Yahoo Messenger
Raven
Site Admin/Owner


Joined: Aug 27, 2002
Posts: 16987
Location: Kansas

PostPosted: Wed Oct 06, 2004 11:47 pm Reply with quote Back to top

I wanted to *bump* this thread as there have been so many new users who visit and might not have seen this. This is an excellent utility. Check it out!
View user's profile Send private message Visit poster's website AIM Address Yahoo Messenger
gregexp
The Mouse Is Extension Of Arm


Joined: Feb 21, 2006
Posts: 1497
Location: In front of a screen....HELP! lol

PostPosted: Sat Mar 18, 2006 9:16 pm Reply with quote Back to top

i hope this helps ppl who may not know this
but if ur file is too big u can split it up
with a fresh copy of the sql file...ie nuke...u can find certain codes
what i personally sudjest u do is to go about the middle of the file
look for the CREATE TABLE table_name.
now take everything from that line down...include that line
cut it out and paste it in a notepad....save it as something
i personally save these files as something.sql the sql part it to easily find and identify it for me personally...it can be saved in any text format....after that..upload the first half(what u didnt remove)
then upload the second half....if that doesnt work...try breaking it down even further...some ppl preferr like what was said before...copy and paste to an sql query...personally not my thing...but what ever floats your boat Laughing Laughing
View user's profile Send private message Send e-mail Visit poster's website AIM Address Yahoo Messenger MSN Messenger ICQ Number
jaded
Theme Guru


Joined: Nov 01, 2003
Posts: 1006

PostPosted: Sun Mar 19, 2006 11:28 am Reply with quote Back to top

using bigdump is very simple and by far the best way to upload a large sql
View user's profile Send private message Visit poster's website
gregexp
The Mouse Is Extension Of Arm


Joined: Feb 21, 2006
Posts: 1497
Location: In front of a screen....HELP! lol

PostPosted: Sun Mar 19, 2006 11:30 am Reply with quote Back to top

i agree 100%...this was just for those that found using big dump either difficult or perhaps didnt know....just informative is the only reason i posted.
View user's profile Send private message Send e-mail Visit poster's website AIM Address Yahoo Messenger MSN Messenger ICQ Number
bugsTHoR
Involved
Involved


Joined: Apr 05, 2006
Posts: 252

PostPosted: Fri Aug 18, 2006 1:43 pm Reply with quote Back to top

Personaly i zip it (not rar) it goes down from 19mb
to 3 or 4 mb
it does`nt time out for me then Very Happy happy days

i have 8mb max upload limit or 300 time

at first i copied and pasted the bbpost_topic / bbpost_txt as one (as it was massive.
then all the members and their info and forum stuff as one big one too also doing sentinel on its own to from the brand new(raven install) as one big one also. so at most there would be 4 .SQl files to upload , therefore missing max upload limit set from your host (mine is 10)
View user's profile Send private message Visit poster's website
Raven
Site Admin/Owner


Joined: Aug 27, 2002
Posts: 16987
Location: Kansas

PostPosted: Fri Aug 18, 2006 2:52 pm Reply with quote Back to top

tar/zip (tar.gz or .tgz) will reduce it even further.
View user's profile Send private message Visit poster's website AIM Address Yahoo Messenger
slackervaara
Worker
Worker


Joined: Aug 26, 2007
Posts: 234

PostPosted: Mon Oct 29, 2007 8:30 am Reply with quote Back to top

I use MySQLDumper for backup and restore my 370 MB sql file, because phpMyAdmin passes maximal execution time. Works very well.
Only registered users can see links on this board!
Get registered or login to the forums!
View user's profile Send private message
Display posts from previous:       
Post new topic   Reply to topic

View next topic
View previous topic
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
Forums ©
 

All logos and trademarks in this site are property of their respective owner.
The comments are property of their posters, all the rest © 2002-2011 by Raven

You can syndicate our news using the file xml

CSE HTML Validator Helped Clean up This Page! [Valid RSS] valid RSS 2.0 Valid robots.txt Stop Spam Harvesters, Join Project Honey Pot

Website engines core code is © copyright by PHP-Nuke but has been heavily patched and modified by myself and others.
PHP-Nuke is a free software released under the GNU/GPL.


:: fisubice phpbb2 style by Daz :: PHP-Nuke theme by www.nukemods.com ::
:: fisubice Theme Modified by the RavenNuke™ Team ::

:: W3C CSS Compliance Validation :: W3C HTML 4.01 Transitional Compliance Validation ::

zerosum