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

Location of databases

In my default installation, it creates a folder for 'data' under c:\mysql .
If I want the data to reside under my local internet root directory, how do
I tell Mysql where to find it?

Fred
Jul 19 '05 #1
2 1867
In article <vo************@corp.supernews.com>, fb*****@ev1.net says...
In my default installation, it creates a folder for 'data' under c:\mysql .
If I want the data to reside under my local internet root directory, how do
I tell Mysql where to find it?

Fred


Edit your my.cnf or my.ini file... there will be up to half a dozen
different paths that you'll have to change (3 are InnoDB specific if
you're using the InnoDB table types).

http://www.mysql.com/doc/en/Windows_...vironment.html
Jul 19 '05 #2
In article <vo************@corp.supernews.com>, fb*****@ev1.net says...
In my default installation, it creates a folder for 'data' under c:\mysql .
If I want the data to reside under my local internet root directory, how do
I tell Mysql where to find it?

Fred


Edit your my.cnf or my.ini file... there will be up to half a dozen
different paths that you'll have to change (3 are InnoDB specific if
you're using the InnoDB table types).

http://www.mysql.com/doc/en/Windows_...vironment.html
Jul 19 '05 #3

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

Similar topics

8
by: Kamlesh | last post by:
Hi, How do I know the physical database path of a database. When I goto the DB2INSTANCE users's directory (/home/db2inst1), I see following folders: /db2inst1/NODE0000/SQL00001...
3
by: Ben | last post by:
Hi all I have made a vb.net windows app that works great in design. But after deploying the app on the same design computer (my own) the app can not find any of the two databases it needs to...
1
by: uli2003wien | last post by:
Dear group, i have the following setting: satellite databases in different locations with the same structure (and sometimes identical data) need to be replicated into one central database....
11
by: surya | last post by:
hello sir, i have a table emp ,it has three fields one is empno int ,second is ename varchar(20). and last is salary , emp empno ename salary ----------- ------------...
2
by: mr_doles | last post by:
I am writing a Database application using Visual Studio 2005 and SQL Server Express 2005. I am trying to create a back up and year end back up plan within the program. The folder structure I...
3
by: MA P | last post by:
Hi! I am use to the include file on classic asp for maintaining MS Access database location. On using Visual Web Developer Express, I can only use the MS Access database if it is located on the...
0
by: vze2jy85 | last post by:
I created a database and called it "inventory" and it is located at /var/lib/mysql When I use a text screen and log onto mysql, and ask it to show the databases, the database "inventory" is...
2
by: Blake | last post by:
Hello, I have a database that keeps track of cameras by location using their serial numbers. I have a report that in the report footer I have the following: =Count() This counts all the...
4
by: Laurence | last post by:
Hi folks, Who knows how to create multi-location/global views? Could you show me some examples? Thanks in advance, Laurence
5
by: evenlater | last post by:
I know how to determine the file location of the current Access database in VBA. But I'm trying to figure out how to determine the file location of my back-end. Anybody know how I can call up the...
0
by: DolphinDB | last post by:
The formulas of 101 quantitative trading alphas used by WorldQuant were presented in the paper 101 Formulaic Alphas. However, some formulas are complex, leading to challenges in calculation. Take...
0
by: DolphinDB | last post by:
Tired of spending countless mintues downsampling your data? Look no further! In this article, you’ll learn how to efficiently downsample 6.48 billion high-frequency records to 61 million...
0
by: ryjfgjl | last post by:
ExcelToDatabase: batch import excel into database automatically...
0
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
1
by: PapaRatzi | last post by:
Hello, I am teaching myself MS Access forms design and Visual Basic. I've created a table to capture a list of Top 30 singles and forms to capture new entries. The final step is a form (unbound)...
0
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: Defcon1945 | last post by:
I'm trying to learn Python using Pycharm but import shutil doesn't work
1
by: Shællîpôpï 09 | last post by:
If u are using a keypad phone, how do u turn on JavaScript, to access features like WhatsApp, Facebook, Instagram....
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...

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.