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)?

I need to do the same thing on my ubuntu. But I am not as experienced a you. In fact I am a newbie at this.First Question:I installed successfully my first lampp. How should I untar for the second installation. If I use: