If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

 
Go Back  dBforums > Database Server Software > MySQL > Can I have MySQL data on some other drive?

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old 04-16-04, 09:30
bosky bosky is offline
Registered User
 
Join Date: Apr 2004
Posts: 1
Can I have MySQL data on some other drive?

Hello,

I have MySql installed on my C:, Is it possible to have the data on some other drive?

Urgent Help Required.

I was advised to do the following
Assuming this is a windows install:
1- Stop the mysql server
2- Edit my.ini in your windows directory (or winnt or wherever)
3- Change the data directory line

datadir=X:/folder/path

4- Copy everything in your existing data directory over
5- Restart the mysql service.

i made the following changes:
I changed my datadir using winmysqladmin.exe to some folder on d: Then i renamed the data folder to data_old and copied the contents of this folder to the new location. After doing all this i restarted the mysql service and got the following error.

Could not start the mysql sevice on Local Computer
Error 1067: The process terminated unexpectedly

Could someone please tell me where am i going wrong?

Please HELP ME!!!!
Reply With Quote
  #2 (permalink)  
Old 04-19-04, 05:46
omiossec omiossec is offline
Registered User
 
Join Date: Jan 2003
Location: Paris, France
Posts: 320
Try to see if there are anything wrong in your my.ini
fix it and restart MySqld
__________________
Olivier Miossec
--
http://www.lasso-developpeur.net/
--
Reply With Quote
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

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