Page 1 of 1
Cannot change datadir mysql
Posted:
21. February 2007 22:19
by neobeezz
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.
Posted:
21. February 2007 23:45
by sari42
have a look at mysql_start.bat:
xampp uses --defaults-file=(...xampp\)mysql\bin\my.cnf
Posted:
21. February 2007 23:59
by neobeezz
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..
Posted:
22. February 2007 00:08
by sari42
>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!