Ravens PHP Scripts: Forums
 

 

View next topic
View previous topic
Post new topic   Reply to topic    Ravens PHP Scripts And Web Hosting Forum Index -> MySQL
Author Message
Virgin_Steel
Worker
Worker



Joined: Sep 30, 2004
Posts: 108
Location: Sf

PostPosted: Thu Jan 20, 2005 5:48 pm Reply with quote

Fatal error: Maximum execution time of 300 seconds exceeded in C:\www\xampp\phpmyadmin\libraries\read_dump.lib.php on line 186
How i can increase the execution time of 300 sec,`cause my db is too big
about 21,5 MB...i tried to seperate the db as it was written in one post...but it shows me 'No SQL query!'
but there is query with right syntax...

Code:
DROP TABLE IF EXISTS nuke_bbranks;

CREATE TABLE nuke_bbranks (
  rank_id smallint(5) unsigned NOT NULL auto_increment,
  rank_title varchar(50) NOT NULL default '',
  rank_min mediumint(8) NOT NULL default '0',
  rank_max mediumint(8) NOT NULL default '0',
  rank_special tinyint(1) default '0',
  rank_image varchar(255) default NULL,
  PRIMARY KEY  (rank_id)
) TYPE=MyISAM;
etc....
pls HELP!
 
View user's profile Send private message Send e-mail Visit poster's website AIM Address Yahoo Messenger MSN Messenger ICQ Number
Raven
Site Admin/Owner



Joined: Aug 27, 2002
Posts: 17088

PostPosted: Thu Jan 20, 2005 7:36 pm Reply with quote

The PHP script has a timeout that is in the php.ini. The MySQL server has a timeout. And the browser also has a timeout. Bottom line, either load the table in chunks (I recommend about 5,000 lines at a time) or, try this http://www.ozerov.de/bigdump.php
 
View user's profile Send private message
sixonetonoffun
Spouse Contemplates Divorce



Joined: Jan 02, 2003
Posts: 2496

PostPosted: Thu Jan 20, 2005 7:42 pm Reply with quote

If you have direct access just import it from the command prompt.
Here is a pretty good Only registered users can see links on this board! Get registered or login!

_________________
[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 
View user's profile Send private message
Raven







PostPosted: Sat Jun 04, 2005 10:24 am Reply with quote

You export the db using phpMyAdmin. Then you open the exported file in a good text editor that has line numbers. Then you copy and paste 5,000 lines at a time or you can try a higher number, into the SQL window in phpMyAdmin. Give http://www.ozerov.de/bigdump.php a try first. It's a great program.
 
ysraghav
New Member
New Member



Joined: Oct 04, 2008
Posts: 1

PostPosted: Sat Oct 04, 2008 12:20 am Reply with quote

Raven wrote:
Give http://www.ozerov.de/bigdump.php a try first. It's a great program.


This thing did it in two minutes what seemed like almost impossible to me. I tried everything else i guess but this was the only thing that worked. Try it out and you will love it.
 
View user's profile Send private message
arta
New Member
New Member



Joined: May 08, 2009
Posts: 1

PostPosted: Fri May 08, 2009 5:46 am Reply with quote

hi:
i have same error but the thing is i have 112 tables but after it gave me this error just 98 of my tables are in !!!!can you help me Sad
 
View user's profile Send private message
fkelly
Former Moderator in Good Standing



Joined: Aug 30, 2005
Posts: 3312
Location: near Albany NY

PostPosted: Fri May 08, 2009 7:27 am Reply with quote

Same error = same solution. Get bigdump and use it.
 
View user's profile Send private message Visit poster's website
bluerace
Regular
Regular



Joined: Apr 04, 2009
Posts: 85
Location: Behind you

PostPosted: Fri May 08, 2009 12:37 pm Reply with quote

Quote:

C:\www\xampp\phpmyadmin\libraries\read_dump.lib.php on line 186

This error message says you are using experimental AMP (Apache + MySQL + php).
Whatever the size of your DB will be, you may go to 'command prompt (ie, command window)'.
Then, change your directory to

c:\www/xampp\mysql\bin\

Then, use direct dump as follows:

mysql -u YOUR-DB-USERNAME -p YOUR-DB-NAME < YOUR-DB-SQL file.

As you know, this is the fastest way and no time limit, no size limit, and no troubles.

In this context, some of web-hosting companies support SSH Shell access, even though they charge little bit more.

_________________
Make stupid PHP-NUKE Smart, that's my favorite chore in Only registered users can see links on this board! Get registered or login! 
View user's profile Send private message Visit poster's website
slackervaara
Worker
Worker



Joined: Aug 26, 2007
Posts: 236

PostPosted: Tue May 26, 2009 10:33 pm Reply with quote

I recommend MySQLDumper for backup and restore of huge databases.
http://www.mysqldumper.de/en/
 
View user's profile Send private message
Display posts from previous:       
Post new topic   Reply to topic    Ravens PHP Scripts And Web Hosting Forum Index -> MySQL

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
You can attach files in this forum
You can download files in this forum


Powered by phpBB © 2001-2007 phpBB Group
All times are GMT - 6 Hours
 
Forums ©