Would like to ask where the database of Joomla hosted?
You can connect to the MySQL database running this command
mysql -u root -p
Also, you can find more information in the link belowhttps://wiki.bitnami.com/Components/MySQL#How_to_connect_to_the_MySQL_database.3f
I hope it helps! Please, feel free to post here if you have more questions.