473,396 Members | 1,970 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,396 software developers and data experts.

Many database - can they have many separate directories?

Hi there.

I am planning a conversion from c-isam to mysql (or possibly postgres)
and I am wondering if it would be possible to keep the same directory
structure for my db's at the moment - which is to say that we have
around 700 separate databases (one for each client) and I have them
all separated off into their own little subdirectory.

Preliminary reading of the list, Paul DuBois' book and Michael
Kofler's book didn't really have much to say on the matter. I think
they just expect me to be okay putting them all in one place...?

TIA

googleboy
Jul 20 '05 #1
2 1705
googleboy wrote:
we have
around 700 separate databases (one for each client) and I have them
all separated off into their own little subdirectory.


MySQL typically has a directory for all databases, and each database is
in a subdirectory off of the data home.

You can specify the location of the default data home when you build
from source:
../configure --localstatedir=/usr/local/mysql/data

Or you can specify the data directory when you start mysqld, either with
command-line options or with an entry in the global my.cnf file. I
recall the option is `datadir'. As far as I know, each running instance
of mysqld can have only one data directory.

Refer to the documentation for more information.

Bill
Jul 20 '05 #2
pan

"googleboy" <my******@yahoo.com> wrote in message
news:e8**************************@posting.google.c om...
Hi there.

I am planning a conversion from c-isam to mysql (or possibly postgres)
and I am wondering if it would be possible to keep the same directory
structure for my db's at the moment - which is to say that we have
around 700 separate databases (one for each client) and I have them
all separated off into their own little subdirectory.

Preliminary reading of the list, Paul DuBois' book and Michael
Kofler's book didn't really have much to say on the matter. I think
they just expect me to be okay putting them all in one place...?

TIA

googleboy


softlinks for *nix-like OS
Jul 20 '05 #3

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

Similar topics

3
by: mark | r | last post by:
ok, so i now know how to add, edit, delete and search for products (havent figured out categorisation out yet tho) - how do i upload an image and save the file name to the database as part of the...
2
by: c-bass | last post by:
How many database does MySQL Support?
1
by: Yasso Picasso | last post by:
Greetings, I have to admit that I'm still a beginner in the database field, but I'm actively studying, and this is why I will be utterly grateful for the proper, accurate, and wise guidance to...
3
by: Keith Chabot | last post by:
I am trying to find out what the best approach is to creating an Access database with over 255 fileds in a table. I work for an accounting firm and they have an Interview questionnaire that they...
5
by: Michelle Stone | last post by:
Hi everybody I am writing a simple asp.net application using form authentication. I store the list of all users and their passwords in an SQL Server database table. My client recently told me...
4
by: Dirk Olbertz | last post by:
Hi there, I'm currently about to redesign a database which you could compare with a database for managing a library. Now this solution will not only manage one library, but 100 to 500 of them....
7
by: Randy Yates | last post by:
I'm a complete newbie to postgres so please look the other way if these questions are really stupid. Is it legitimate to have one database per data file? For organizational and backup purposes,...
5
by: HSP | last post by:
hi. i need to restore an old database. The db was backed up using a DLT drive, using 2 volumes. The content for the tapes was copied to file onto Solaris machine using rsh and dd (for backup...
5
by: melickas | last post by:
We designed a custom application using Office Developer Tools '97 which included a Run-time version of Access--- so it would not matter if our customer even had any version of Access on their...
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
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
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...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...

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.