Hi,
When you are setting up your second installation, you should be asked to change your Table Prefix (and if you are not, it's probably in the configuration file). Make sure you change that to something else (such as mysecondsite_) and you can use the same database.
Thank you,