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 > how to edit 15mb sql file?

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old 01-20-05, 09:50
wexter wexter is offline
Registered User
 
Join Date: Dec 2004
Posts: 2
how to edit 15mb sql file?

HI,
I just lost some tables from mysql database I have the backup file now I want to Restore The Missed Tables from that backup but it is a 15 mb file and I m unable to open it with an editor can any one suggest any good editor which can support this huge file or any solution.

Thanx
Reply With Quote
  #2 (permalink)  
Old 01-20-05, 10:17
JDobbelsteen JDobbelsteen is offline
Registered User
 
Join Date: Jan 2005
Posts: 19
When you are using Windows try Ultraedit...
www.ultraedit.com

Though any editor should be able to work with it (e.g. OpenOffice/MS-Word/...)
Reply With Quote
  #3 (permalink)  
Old 01-22-05, 02:40
wexter wexter is offline
Registered User
 
Join Date: Dec 2004
Posts: 2
Thanx JDobbelsteen

Thanx JDobbelsteen!
ultra edit Really Solve my Problem Thanx a lot.
Reply With Quote
  #4 (permalink)  
Old 02-07-05, 10:31
monsteradmin monsteradmin is offline
Registered User
 
Join Date: Feb 2005
Posts: 5
Hi,

i got some larger files. lets talk about 1 to 3.5 GB yes Gigabytes. ultraedit is not really capable of handling such a file.

Any other recommendations?

Greetings Marcel
Reply With Quote
  #5 (permalink)  
Old 02-07-05, 15:15
JDobbelsteen JDobbelsteen is offline
Registered User
 
Join Date: Jan 2005
Posts: 19
What is the content/type of the file?

Is there any other way?
Can you break it into smaller pieces using some tool/script?
Can you feed it into a database and perform the conversion there (this is designed for large data volumes)?

Anyway, why you want to manually edit a file over hunderd megabytes? If you want a piece, your better of writing a simple tool/script to do that. If its specialized content, there is probably a better way.

If you need to strip the data to feed it into a database, you might be better of writing a tool/script for it yourself if there database doesn't provide enough support.

- Joris Dobbelsteen
Reply With Quote
  #6 (permalink)  
Old 02-07-05, 22:01
rbstern rbstern is offline
Registered User
 
Join Date: Feb 2005
Posts: 8
My editor of choice is EditPlus, but I ran into the same problem with some 0.5 GB files.

I used a freeware file splitter called HJSplit, which is a bit simple, but works fine for solving large file editing problems.

http://www.freebyte.com/hjsplit/
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