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
dobbelina
Hangin' Around



Joined: Jul 21, 2004
Posts: 47

PostPosted: Wed Aug 18, 2004 11:29 pm Reply with quote

Hi !
When backing up my database from my host to install at home(using phpmyadmin)
I get the following error message when running the sql file at home:
Fatal error: Maximum execution time of 300 seconds exceeded in D:\minixampp\phpmyadmin\libraries\read_dump.lib.php on line 77

My database is about 4 mb in size so it takes a while...
If i manually "cut" the sql file in half it works fine,but doing the import 2 times
seems so unneccesary.
Please can someone tell me what to do ?
At home i use phpmyadmin v2.5.5-pl1
and my host v2.5.6
Dobbelina Very Happy
 
View user's profile Send private message
sixonetonoffun
Spouse Contemplates Divorce



Joined: Jan 02, 2003
Posts: 2496

PostPosted: Thu Aug 19, 2004 7:11 am Reply with quote

You can increase the time in php.ini to something a little more reasonable.

Or do it from the command line. paste the sql file in the bin directory then open a command prompt navigate to the bin directory.
cd c:/mysql/bin or cd /d d:/minixampp/mysql/bin
mysql -uroot -ppassword Database > file.sql

Or there is another tool out there called mysqlfront that works great for importing.

_________________
[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
dobbelina







PostPosted: Thu Aug 19, 2004 11:38 pm Reply with quote

Thanks for that tip !
I've changed to SQLyog, and it worked beatifully !
It went in,all in one go, thanks !
Dobbelina Very Happy
 
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 ©