New standard directory MySQL databases ?

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

New standard directory MySQL databases ?

Postby amity » 22. January 2005 13:59

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
amity
 
Posts: 3
Joined: 22. January 2005 13:47

Postby Wiedmann » 22. January 2005 14:23

\xampp\mysql\bin\my.cnf
Wiedmann
AF Moderator
 
Posts: 17106
Joined: 01. February 2004 12:38
Location: Stuttgart / Germany

Postby amity » 22. January 2005 15:16

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
amity
 
Posts: 3
Joined: 22. January 2005 13:47

Postby Wiedmann » 22. January 2005 16:10

Open this file in notepad. And what can you see? ...
Wiedmann
AF Moderator
 
Posts: 17106
Joined: 01. February 2004 12:38
Location: Stuttgart / Germany

Postby amity » 22. January 2005 18:03

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
amity
 
Posts: 3
Joined: 22. January 2005 13:47


Return to XAMPP for Windows

Who is online

Users browsing this forum: bernardwi and 71 guests