473,385 Members | 1,356 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,385 software developers and data experts.

how to run a database off an external harddrive?

xz
i've got mysql 5.0 and I have 50 million records in a text file on an
external USB 2.0 hard drive. I can import the file into a mySQL
database on my laptop - but I don't want the database on my laptop. I
want that database to be physically located on that usb connected hard
drive instead of my laptop. Can anyone tell me how to set up the
database on my laptop, but with a physical location of the data on the
external hard drive? Oh - not that it helps, but I'm using Navicat (my
first day using it).

Thanks!
jason shohet

Aug 17 '06 #1
2 8064
xz
sorry it posted twice :)
I have another aspect to the question. If I just copy the 'data'
directory (MySQL Server 5.0/data) onto the external hard drive, and
then I delete that directory on my laptop.... and then a month from now
I copy that data directory back from the external hard drive onto my
laptop where mySQL is located -- can I start from where I left off.
Is that a good way of restoring my database. My problem is that due to
some constraints, I'm not allowed to leave this building with the
database on my laptop. So I'm thinking - I copy the entire data
directory onto the external hard drive, then copy it back afterwards
and hopefully all my tables / data will be there (?)

thanks again

Aug 17 '06 #2
xz wrote:
sorry it posted twice :)
I have another aspect to the question. If I just copy the 'data'
directory (MySQL Server 5.0/data) onto the external hard drive, and
then I delete that directory on my laptop.... and then a month from now
I copy that data directory back from the external hard drive onto my
laptop where mySQL is located -- can I start from where I left off.
Is that a good way of restoring my database. My problem is that due to
some constraints, I'm not allowed to leave this building with the
database on my laptop. So I'm thinking - I copy the entire data
directory onto the external hard drive, then copy it back afterwards
and hopefully all my tables / data will be there (?)

thanks again
You can copy the data directory that way, however, make sure mysql is
not running when you do it.
Aug 17 '06 #3

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

3
by: vishal | last post by:
i am creating a news site. i am adding new news in database and it must be visible to user at top. and then second latest news and so on. i am displaying 15 news on each page and then put a link...
3
by: eddy princen | last post by:
Hello, i'm need some help, i want to run a website on a server with an sql database ( that in itself is no problem, i've done this before) but with a possibility to update the sql database with...
2
by: bryanilton | last post by:
Hi, I really hope one of you gurus can help me out here. I need to create a webform that has two drop-down boxes and allows a user to select a harddrive manufacturer and another for a harddrive...
1
by: Martin_Hurst | last post by:
Is it possible to establish a connection from within a postgres database to another external database on the network, i.e., not a java or scripting connection, BUT by some type of table definition...
1
by: Daniel Manes | last post by:
Some facts: 1) I have an Access database (.mdb file) sitting on my harddrive. 2) I have Visual Studio 2005, Sql Server Express, and Sql Server Management Studio Express. 3) I do *not* have...
1
by: steveBelfast | last post by:
Having trouble installing my 180 day Visual Studio 2005 trial disk. The CD that was sent is actually a DVD not a CD. My home PC only has a CD drive. I attempted to install on an external drive...
0
by: xz | last post by:
i've got mysql 5.0 and I have 50 million records in a text file on an external USB 2.0 hard drive. I can import the file into a mySQL database on my laptop - but I don't want the database on my...
3
by: Stephan | last post by:
Hi all, I am new to access and I face the following "issue": I would like to create a database, to which users can upload files (=pdf, doc, xls...). The files shall be stored locally on a...
12
by: Steve | last post by:
I have a database that raises an error when you try to open it and it doesn't open. Trying to open the database with the OpenDatabase method raises the same error. Trying to import any objects...
2
by: =?Utf-8?B?anVuaW9yLWdlZWtldHRl?= | last post by:
I have seen similar questions posted here but no result for my situation so here goes. I have a fairly new Maxtor OneTouch III Turbo Terabyte external drive (raid) and a new Dell 690 Precision...
1
by: CloudSolutions | last post by:
Introduction: For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
0
by: Faith0G | last post by:
I am starting a new it consulting business and it's been a while since I setup a new website. Is wordpress still the best web based software for hosting a 5 page website? The webpages will be...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 3 Apr 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome former...
0
by: ryjfgjl | last post by:
In our work, we often need to import Excel data into databases (such as MySQL, SQL Server, Oracle) for data analysis and processing. Usually, we use database tools like Navicat or the Excel import...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.