Author |
Message |
kwality
Client

Joined: Dec 12, 2003
Posts: 35
|
Posted:
Tue Aug 03, 2004 2:47 pm |
|
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. |
|
|
|
 |
kwality

|
Posted:
Tue Aug 03, 2004 3:20 pm |
|
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. |
|
|
|
 |
sixonetonoffun
Spouse Contemplates Divorce

Joined: Jan 02, 2003
Posts: 2496
|
Posted:
Tue Aug 03, 2004 3:38 pm |
|
Mines 300 secs too I use BigDump to read large sql files.
http://www.ozerov.de/bigdump.php
Might take some trial and error to get things going but it does do the job. |
_________________ [b][size=5]openSUSE 11.4-x86 | Linux 2.6.37.1-1.2desktop i686 | KDE: 4.6.41>=4.7 | XFCE 4.8 | AMD Athlon(tm) XP 3000+ | MSI K7N2 Delta-L | 3GB Black Diamond DDR
| GeForce 6200@433Mhz 512MB | Xorg 1.9.3 | NVIDIA 270.30[/size:2b8 |
|
|
 |
kwality

|
Posted:
Tue Aug 03, 2004 3:50 pm |
|
seems awful confusing, but ill give it a go, thanks man |
|
|
|
 |
Raven
Site Admin/Owner

Joined: Aug 27, 2002
Posts: 17088
|
Posted:
Tue Aug 03, 2004 7:25 pm |
|
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. |
|
|
|
 |
Raven

|
Posted:
Wed Oct 06, 2004 11:47 pm |
|
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! |
|
|
|
 |
gregexp
The Mouse Is Extension Of Arm

Joined: Feb 21, 2006
Posts: 1497
Location: In front of a screen....HELP! lol
|
Posted:
Sat Mar 18, 2006 9:16 pm |
|
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  |
|
|
 |
 |
jaded
Theme Guru

Joined: Nov 01, 2003
Posts: 1006
|
Posted:
Sun Mar 19, 2006 11:28 am |
|
|
|
 |
gregexp

|
Posted:
Sun Mar 19, 2006 11:30 am |
|
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. |
|
|
|
 |
bugsTHoR
Involved


Joined: Apr 05, 2006
Posts: 263
|
Posted:
Fri Aug 18, 2006 1:43 pm |
|
Personaly i zip it (not rar) it goes down from 19mb
to 3 or 4 mb
it does`nt time out for me then 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) |
_________________ LUV RAVEN DISTROBUTION BEBE
Clanthemes.com are great (free advertisements for now until i get to 20,000 posts LoL) |
|
|
 |
Raven

|
Posted:
Fri Aug 18, 2006 2:52 pm |
|
tar/zip (tar.gz or .tgz) will reduce it even further. |
|
|
|
 |
slackervaara
Worker


Joined: Aug 26, 2007
Posts: 236
|
Posted:
Mon Oct 29, 2007 8:30 am |
|
I use MySQLDumper for backup and restore my 370 MB sql file, because phpMyAdmin passes maximal execution time. Works very well.
http://www.mysqldumper.de/en/ |
|
|
|
 |
|