Go Back   PCMech Forums > Help & Discussion > Web Design / Development

Need Some Help? Type Your Keywords Here:

Reply
 
LinkBack Thread Tools Search this Thread Rate Thread Display Modes
Old 01-12-2007, 06:11 PM   #1
Member (10 bit)
 
ChoboSeki's Avatar
 
Join Date: Sep 2006
Location: Roanoke, VA
Posts: 516
Send a message via AIM to ChoboSeki
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
ChoboSeki is offline   Reply With Quote
Old 01-16-2007, 08:13 AM   #2
Come in Ray...
 
faulkner132's Avatar
 
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.
faulkner132 is offline   Reply With Quote
Old 01-16-2007, 11:00 AM   #3
Staff
Premium Member
 
mairving's Avatar
 
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
mairving is offline   Reply With Quote
Old 01-22-2007, 02:34 PM   #4
Member (10 bit)
 
ChoboSeki's Avatar
 
Join Date: Sep 2006
Location: Roanoke, VA
Posts: 516
Send a message via AIM to ChoboSeki
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.
ChoboSeki is offline   Reply With Quote
Old 01-22-2007, 02:55 PM   #5
Member (10 bit)
 
ChoboSeki's Avatar
 
Join Date: Sep 2006
Location: Roanoke, VA
Posts: 516
Send a message via AIM to ChoboSeki
edit:

I think I got it. Thanks!

Last edited by ChoboSeki; 01-22-2007 at 03:09 PM.
ChoboSeki is offline   Reply With Quote
Reply

Bookmarks

Still Need Help? Type Your Keywords Here:


Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes Rate This Thread
Rate This Thread:

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 On
HTML code is On
Trackbacks are On
Pingbacks are On
Refbacks are On


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


All times are GMT -5. The time now is 05:17 AM.
Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2012, vBulletin Solutions, Inc.
SEO by vBSEO 3.6.0 PL2