Alternate location for data files
Posted: 30. December 2004 20:53
I just installed XAMPP for Linux and I'd like to change the data directories for MySQL and Apache from the default (under /opt/lampp) to more typical locations. Normally MySQL data is stored in /var/lib, Apache is usually in /home/htdocs or similar.
It appears that there are a couple of scripts that need to change to make this work. Is it better to change the startup scripts, or just create symlinks from the respective directories under /opt/lampp to the desired locations?
Thanks!
It appears that there are a couple of scripts that need to change to make this work. Is it better to change the startup scripts, or just create symlinks from the respective directories under /opt/lampp to the desired locations?
Thanks!