Page 1 of 1

New standard directory MySQL databases ?

PostPosted: 22. January 2005 13:59
by amity
Is there a way to change the location of the databases made in MySQL ? Now they are always under \xampp\mysql\data. I want to specify another location (USB memory stick, so I can use databases on more than one PC). Changing the document root is no problem. When working with EasyPHP1.7, there is a my.ini-file in the c:\windows directory, where I can change the datadir (standard \easyPHP1-7\mysql\data)

OS = winXP home edition.

txs

PostPosted: 22. January 2005 14:23
by Wiedmann
\xampp\mysql\bin\my.cnf

PostPosted: 22. January 2005 15:16
by amity
I only have a shortcut named "my" in this directory, but this is referring to nowhere.Was there an error during install ? Is the extension .cnf not only for Linux ? I have WinXP

PostPosted: 22. January 2005 16:10
by Wiedmann
Open this file in notepad. And what can you see? ...

PostPosted: 22. January 2005 18:03
by amity
That's it ... Had to open notepad first, and than Open -> File ... Here indeed I can find the path to the database-directory.

Thank you very much

Amity