473,508 Members | 2,477 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

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 1876
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
7881
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
1494
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
1162
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
12850
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
1300
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
1534
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
959
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
1429
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
1638
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
2910
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
7133
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
7336
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
7405
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...
1
7066
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
7504
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...
0
5643
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...
1
5059
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 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 a new...
0
4724
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and...
0
1568
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated ...

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.