|
|||||||
![]() |
|
|
LinkBack | Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
|
#1 |
|
Member (10 bit)
|
Import Large SQL Database
I have this SQL file which is 598 MB, and 127 MB gzipped.
What I would like to do with this is host it on one of my computers, but I'm not sure the best route for a software solution. I have tried using NetServer's MySQL to import it but it wouldn't import a file over 8 MB, it would say "Unknown Query". Does anyone know which SQL software I could use that would be able to import a file as large as this without cutting it down? I can't really cut it in parts due to the freezing of whatever program I try using. Thanks |
|
|
|
|
|
#2 |
|
Come in Ray...
Join Date: Sep 2004
Posts: 1,668
|
What kind of SQL database is it and how was it created?
Microsoft SQL Server? MySQL? PostgreSQL? You will need to know how the file was created so you can restore appropriately. |
|
|
|
|
|
#3 |
|
Staff
Premium Member
Join Date: Jul 1999
Location: Arlington, TN
Posts: 5,538
|
More info would be helpful as mentioned.
If it is a MySQL dumpfile then it can be imported quite easily from the command line: mysql database_name -u username -p < pathtofile/filename.sql . It will take quite awhile though. If it is the data file from the MySQL directory then you can drop it in the proper directory, reset the permissions and you are done. If it is a SQL Server backup then you can either restore the file to the database if it was a backup or detach/reattach it if it was the datafile.
__________________
Want to Make $$$$ with your Computer? No Risk! Simply press shift-4 four times in a row |
|
|
|
|
|
#4 |
|
Member (10 bit)
|
Sorry for the delay in response.
I have no idea how it was exported. I just know it's a backup, and .SQL. mairving: What server program should I use for a server? It will be running on Windows, not nix. |
|
|
|
|
|
#5 |
|
Member (10 bit)
|
edit:
I think I got it. Thanks! Last edited by ChoboSeki; 01-22-2007 at 03:09 PM. |
|
|
|
![]() |
| Bookmarks |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Computer Acronyms | Floppyman | Computer Hardware | 156 | 06-18-2006 06:25 AM |
| MS SQL Server - Pretty big Trouble | dOBsON | Software Discussion & Support | 5 | 10-03-2005 04:16 PM |
| SQL 2000 database | computertech | Networking & Online Security | 1 | 12-14-2003 07:15 PM |
| Unrecognised Database Format | skeletonkeys | Web Design / Development | 4 | 09-25-2002 11:16 AM |
| SQL Server authentication (asp) | artsapimp | Web Design / Development | 2 | 07-18-2002 06:54 AM |