Cannot change datadir mysql

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

Cannot change datadir mysql

Postby neobeezz » 21. February 2007 22:19

I've change datadir path my.ini in c:\windows, but seems not working. It still point to the first installation setting.

Please advise.

thanks.
neobeezz
 
Posts: 2
Joined: 21. February 2007 22:13

Postby sari42 » 21. February 2007 23:45

have a look at mysql_start.bat:
xampp uses --defaults-file=(...xampp\)mysql\bin\my.cnf
sari42
 
Posts: 800
Joined: 27. November 2005 18:28

Postby neobeezz » 21. February 2007 23:59

yes.. i thought so too.
it seems like shortcut ? (with computer icon)

How can i edit it ?
Is is possible to change the datadir ?

THanks sari42..
neobeezz
 
Posts: 2
Joined: 21. February 2007 22:13

Postby sari42 » 22. February 2007 00:08

>How can i edit it ?
use your favorite texteditor

out of unknown reasons (at least to me) win lists my.cnf only as "my"

>Is is possible to change the datadir ?
yes, but you have to copy (move) the olddatadir/mysql folder to the new datadir!
sari42
 
Posts: 800
Joined: 27. November 2005 18:28


Return to XAMPP for Windows

Who is online

Users browsing this forum: No registered users and 67 guests