You can have multiple scripts use the same database. WordPress, Joomla, etc all allow you to use table prefixes so they can have multiple installations of the same script or different scripts use the same database.
You just have to make sure that if you already have a database igor_wp for WordPress with table prefix wp_, when you install Joomla, you also use igor_wp for a database, but something like jm_ as a table prefix.