Quantcast
Channel: MySQL Forums - InnoDB
Viewing all articles
Browse latest Browse all 1957

Chaning database dir to another hard drive (4 replies)

$
0
0
Hi,

I have mysql installed on windows in c:\ drive
I just installed a much faster hard drive d:\ and I want to move all the mysql databases to this a new directory d:\newmysqldata

I've been searching the net for the best way to do it and I am a bit confused.
I undestand I have to copy the current mysql\data directory to the new directory; what I am not clear about is if I should copy the whole content or skip ib_logfile* file?
Also, since I copy only the mysql/data folder why do I have to change in the coonfig file the basedir setting? from what I understand the basedir is the installation dir which I am not going to change... right?

CAn someone please shed some light on how should I proceed on windows platform with this move before I go ahead and experiment with the life server?

Thank you,
Ovi

Viewing all articles
Browse latest Browse all 1957

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>