I have lampp up and working under Ubuntu 12.04. I would like to have a separate lampp installed in a different folder in /opt (e.g. /opt/lampp2) with its own database and files, so that I select between them by choosing which lampp command to run. I untarred the file ok, and ran lampp ok, but mysql still goes to the same database. How to I get separate databases for separate installations (i.e. is /opt/lampp hardwired in some config files that need changing)?
Thanks for any help.