Problems with the Linux version of XAMPP, questions, comments, and anything related.
I'd like to know if I can move the files of a database in another folder, while also allowing MySQL to access it. Currently, every database has it's folder in /opt/lampp/var/mysql/, but I'd like to have them stored somewhere else. Can this be done?
- Posts: 1
- Joined: 02. April 2010 11:23
You can move the data-Folder (which holds the databases), but you cannot move the dabase folders seperately to different folders.
The runtime option "datadir" determines the data folder of MySQL. Options may supplied via my.ini or via command line. The command line overrules my.ini
See the MySQL Docu for more info
- Posts: 8922
- Joined: 09. March 2008 13:04
Return to XAMPP for Linux
Who is online
Users browsing this forum: No registered users and 7 guests