Take the 2-minute tour ×
Server Fault is a question and answer site for professional system and network administrators. It's 100% free, no registration required.

I am running MySQL on Windows XP. My data directory is: c:/database/data/

I want to create a new database but store it's data on m:/database/data/

Is it possible to keep the existing data on c:\ and the new data in m:\?

share|improve this question

1 Answer 1

up vote 2 down vote accepted

Yes, using NTFS symbolic links. Create a link in your database directory, pointing to m:\database\data\yourdatabasename.

share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.