If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

 
Go Back  dBforums > Database Server Software > MySQL > MySQL Heavy Uploads

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old 05-07-09, 10:03
smrutik smrutik is offline
Registered User
 
Join Date: Mar 2009
Posts: 5
Question MySQL Heavy Uploads

Hi All,

Does anybody know how to upload heavy data (sql queries) to MySql database.
Heavy like more than 100mb?

PhpMyAdmin allows some particular amount like 30mb or so.

What is any good solution?

Pls help.

Thanks,
Smruti.
Reply With Quote
  #2 (permalink)  
Old 05-08-09, 07:27
ashish_mat1979 ashish_mat1979 is offline
Registered User
 
Join Date: Aug 2005
Posts: 30
If you have command line access to your server you can use:

To take backup:-
----------------
shell> mysqldump --quick db_name | gzip > db_name.gz

To Restore:-
------------
shell> mysqladmin create db_name
shell> gunzip < db_name.gz | mysql db_name

This process is very fast otherwise you will have to modify php.ini file on server to increase value of parameters "max_upload_size" & "max_execution_time", also you may have to edit configuration file of phpmyadmin.
__________________
Ashish
Entertainment Overloaded
Reply With Quote
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On