up vote 2 down vote favorite
share [g+] share [fb]

I have a 16GB sql database backup I have just taken, what software can I open it with for Mac?

I have tried TextMate, but that just fails completely by just opening a blank page and not attempting to open it. Any software will do (raw text/UI).

link|improve this question
feedback

6 Answers

Assuming the SQL file was not created on that Mac, and depending on what you want to do with its data: just install the database software on that Mac, and import it into that new database?

link|improve this answer
feedback

There's a Vim plugin that allows it to open large files.

Then you could either go with the CLI version already installed or use MacVim.

link|improve this answer
feedback

How about:

less file.sql

from a terminal window? You can also use grep, etc.

link|improve this answer
feedback

BBEdit can probably handle it (so should TextWrangler), but unless you really need to get inside and make some changes to the data, re-importing into the proper database management software is going to be your best bet.

link|improve this answer
In my experience TextWrangler (free) can handle large files much better than TextMate, but I haven't opened anything like 16GB with it. – donut Nov 16 '09 at 2:40
feedback

HexFiend is the best application I've found for extremely large files as it does not try to store the entire file in memory. While more of a hex editor than a text editor it may be more than workable given that it works very, very quickly.

link|improve this answer
feedback

Terminal -> 'vi'

link|improve this answer
feedback

Your Answer

 
or
required, but never shown