Page 1 of 1

how to RELOCATE mysql data folder?

PostPosted: 27. February 2011 14:55
by BrownChiLD
Hi

How do i manually relocate the mysql data folder to a different partition?

i have xampp running on C:/xampp

but i want to move the c:/xampp/mysql/data to d:/data


How do i do this?

Re: how to RELOCATE mysql data folder?

PostPosted: 27. February 2011 23:12
by Sharley
Where ever you move the data folder to you have to tell MySQL where the new location is by changing the settings in the \xampp\mysql\bin\my.ini file.

Re: how to RELOCATE mysql data folder?

PostPosted: 28. February 2011 02:12
by BrownChiLD
awesome! i'll try it out tnx