how to RELOCATE mysql data folder?

Problems with the Windows version of XAMPP, questions, comments, and anything related.

how to RELOCATE mysql data folder?

Postby BrownChiLD » 27. February 2011 14:55

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?
BrownChiLD
 
Posts: 5
Joined: 27. February 2011 14:49

Re: how to RELOCATE mysql data folder?

Postby Sharley » 27. February 2011 23:12

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.
User avatar
Sharley
AF Moderator
 
Posts: 3316
Joined: 03. October 2008 05:10
Location: Yeppoon, Australia Time Zone: GMT/UTC+10
Operating System: Win 7 Pro 32bit/XP Pro SP3

Re: how to RELOCATE mysql data folder?

Postby BrownChiLD » 28. February 2011 02:12

awesome! i'll try it out tnx
BrownChiLD
 
Posts: 5
Joined: 27. February 2011 14:49


Return to XAMPP for Windows

Who is online

Users browsing this forum: No registered users and 117 guests